This commit is contained in:
Andy Wilkinson
2017-10-24 14:41:03 +01:00
parent 7065a41711
commit a256602c7b
23 changed files with 78 additions and 62 deletions

View File

@@ -93,8 +93,9 @@ public final class CommandLineInvoker {
}
File bin = new File(unpacked.listFiles()[0], "bin");
File launchScript = new File(bin, isWindows() ? "spring.bat" : "spring");
Assert.state(launchScript.exists() && launchScript.isFile(), () ->
"Could not find CLI launch script " + launchScript.getAbsolutePath());
Assert.state(launchScript.exists() && launchScript.isFile(),
() -> "Could not find CLI launch script "
+ launchScript.getAbsolutePath());
return launchScript;
}