Commit 61fb9c49 authored by Luboš Horáček's avatar Luboš Horáček

Minor fix

parent 4afe14c0
......@@ -251,7 +251,7 @@ check.dependsOn unitTest
def getVersionNameFromGit() {
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
commandLine 'git', 'describe', '--tags', '--always'
standardOutput = stdout
}
return stdout.toString().trim()
......
......@@ -299,7 +299,7 @@ public class GameManager extends Model {
System.out.println("Game Records: " + gameRecords.size());
for (GameManager gameRecord: gameRecords) {
System.out.println(gameRecord);
System.out.println(gameRecord.getGamePusesInString());
System.out.println(gameRecord.getGamePausesInString());
}
}
......@@ -319,7 +319,7 @@ public class GameManager extends Model {
return description;
}
public String getGamePusesInString() {
public String getGamePausesInString() {
String description = "GamePauses: [";
List<GamePause> pauses = new Select().from(GamePause.class).where("GameManager = ?", getId()).orderBy("Id DESC").execute();
if ((pauses != null) && (pauses.size() > 0)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment