Fix synatx hopefully

This commit is contained in:
David Baker 2020-03-06 14:47:09 +00:00
parent f961513212
commit 5c85de4934

View File

@ -48,8 +48,7 @@ exports.default = async function(cfg) {
const appOutDir = path.dirname(inPath);
return new Promise((resolve, reject) => {
const args = ['sign'];
args.push(...computeSignToolArgs(cfg.options, keyContainer, cfg.path));
const args = ['sign'].concat(computeSignToolArgs(cfg.options, keyContainer, cfg.path));
console.log("Running signtool with args", args);
execFile('signtool', args, {}, (error, stdout) => {