File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ for (const npmDir of versions) {
1919 const npmPath = path . join ( npmFixturesPath , npmDir )
2020 const npmBinPath = path . join ( npmPath , NODE_MODULES , '.bin' )
2121
22- console . log ( `Running \`npm install --silent\` for ${ npmDir } ` )
22+ console . log ( `Running \`npm install --silent\` for ${ npmDir } in ${ process . version } ` )
2323 spawnSync ( NPM , [ 'install' , '--silent' ] , {
2424 cwd : npmPath ,
2525 signal : abortSignal ,
@@ -33,6 +33,7 @@ for (const npmDir of versions) {
3333
3434 it ( 'should bail on new typosquat' , async ( ) => {
3535 await new Promise < void > ( ( resolve , reject ) => {
36+ console . log ( `Now running npm i bowser, ${ npmDir } , ${ process . version } ` )
3637 const spawnPromise = spawn (
3738 // Lazily access constants.execPath.
3839 constants . execPath ,
@@ -71,7 +72,7 @@ for (const npmDir of versions) {
7172
7273 spawnPromise . catch ( ( ) => {
7374 spawnPromise . process . kill ( 'SIGINT' )
74- reject ( )
75+ reject ( new Error ( 'Received a SIGINT' ) )
7576 } )
7677 } )
7778
You can’t perform that action at this time.
0 commit comments