Quoting key

This commit is contained in:
Ryan Baxter
2024-05-21 16:28:24 -04:00
parent 0e3a5af0d2
commit 09fc9e8211

View File

@@ -191,7 +191,7 @@ public class ProjectCommandExecutor {
}
for (int i = 0; i < commands.length; i++) {
if (commands[i].contains("{{host-key}}")) {
commands[i] = commands[i].replace("{{host-key}}", properties.getAntora().getSpringDocsSshHostKey());
commands[i] = commands[i].replace("{{host-key}}", "\"" + properties.getAntora().getSpringDocsSshHostKey()) + "\"";
}
}
runCommand(properties, antoraDocsProject.getAbsolutePath() + "/rsync-antora-reference/src", commands);