fix: missing line separator before "cd".

This commit is contained in:
huanghongxun 2021-09-12 15:27:37 +08:00
parent fd27f16714
commit 43ae5a24e5

View File

@ -437,6 +437,7 @@ public class DefaultLauncher extends Launcher {
writer.newLine();
} else if (OperatingSystem.CURRENT_OS == OperatingSystem.OSX || OperatingSystem.CURRENT_OS == OperatingSystem.LINUX) {
writer.write("#!/usr/bin/env bash");
writer.newLine();
writer.write(new CommandBuilder().add("cd", repository.getRunDirectory(version.getId()).getAbsolutePath()).toString());
writer.newLine();
}