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() {
15220
15220
yield installer.getNode(version);
15221
15221
}
15222
15222
// Output version of node and npm that are being used
15223
- exec.exec('node', ['--version']);
15223
+ yield exec.exec('node', ['--version']);
15224
15224
// 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'], {
15226
15226
ignoreReturnCode: true
15227
15227
});
15228
15228
const registryUrl = core.getInput('registry-url');
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ async function run() {
20
20
}
21
21
22
22
// Output version of node and npm that are being used
23
- exec . exec ( 'node' , [ '--version' ] ) ;
23
+ await exec . exec ( 'node' , [ '--version' ] ) ;
24
24
25
25
// 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' ] , {
27
27
ignoreReturnCode : true
28
28
} ) ;
29
29
You can’t perform that action at this time.
0 commit comments