sign-windows: Put quotes around paths provided to sign script

This commit is contained in:
Scott Nonnenberg 2023-11-03 16:28:39 -07:00
parent ebd5397bb5
commit a2cfaa81a4

View file

@ -25,7 +25,7 @@ export async function sign(
const target = await realpath(configuration.path);
// The script will update the file in-place
const returnCode = execSync(`bash ${scriptPath} ${target}`, {
const returnCode = execSync(`bash "${scriptPath}" "${target}"`, {
stdio: [null, process.stdout, process.stderr],
});