File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15220,9 +15220,9 @@ function run() {
1522015220 yield installer.getNode(version);
1522115221 }
1522215222 // Output version of node and npm that are being used
15223- exec.exec('node', ['--version']);
15223+ yield exec.exec('node', ['--version']);
1522415224 // Older versions of Node don't include npm, so don't let this call fail
15225- exec.exec('npm', ['--version'], {
15225+ yield exec.exec('npm', ['--version'], {
1522615226 ignoreReturnCode: true
1522715227 });
1522815228 const registryUrl = core.getInput('registry-url');
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ async function run() {
2020 }
2121
2222 // Output version of node and npm that are being used
23- exec . exec ( 'node' , [ '--version' ] ) ;
23+ await exec . exec ( 'node' , [ '--version' ] ) ;
2424
2525 // Older versions of Node don't include npm, so don't let this call fail
26- exec . exec ( 'npm' , [ '--version' ] , {
26+ await exec . exec ( 'npm' , [ '--version' ] , {
2727 ignoreReturnCode : true
2828 } ) ;
2929
You can’t perform that action at this time.
0 commit comments