mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-29 05:48:17 +00:00
Revert args mode
This commit is contained in:
parent
48bb665d5c
commit
ae095094f7
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -14,7 +14,7 @@ const cmd = async (command, ...args) => {
|
||||||
stderr: (data) => { errors += data.toString(); }
|
stderr: (data) => { errors += data.toString(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
await exec.exec(command + args.map(a => ` ${a}`).join(' '), [], options)
|
await exec.exec(command, args, options)
|
||||||
.catch(err => { core.info(`The command '${command} ${args.join(' ')}' failed: ${err}`); });
|
.catch(err => { core.info(`The command '${command} ${args.join(' ')}' failed: ${err}`); });
|
||||||
|
|
||||||
if (errors !== '') {
|
if (errors !== '') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue