PS启动脚本使用LiteralPath避免歧义 (#5388)
close #5387 Co-authored-by: xirren <xirren@outlook.com>
This commit is contained in:
@@ -692,7 +692,7 @@ public class DefaultLauncher extends Launcher {
|
|||||||
writer.write(CommandBuilder.pwshString(entry.getValue()));
|
writer.write(CommandBuilder.pwshString(entry.getValue()));
|
||||||
writer.newLine();
|
writer.newLine();
|
||||||
}
|
}
|
||||||
writer.write("Set-Location -Path ");
|
writer.write("Set-Location -LiteralPath ");
|
||||||
writer.write(CommandBuilder.pwshString(FileUtils.getAbsolutePath(repository.getRunDirectory(version.getId()))));
|
writer.write(CommandBuilder.pwshString(FileUtils.getAbsolutePath(repository.getRunDirectory(version.getId()))));
|
||||||
writer.newLine();
|
writer.newLine();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user