Browse Source

test: exit properly when `node-spec-runner` validates specs (#36091)

test: exit properly when node spec runner validates specs
Shelley Vohr 2 years ago
parent
commit
3e730ab016
1 changed files with 2 additions and 0 deletions
  1. 2 0
      script/node-spec-runner.js

+ 2 - 0
script/node-spec-runner.js

@@ -67,6 +67,8 @@ async function main () {
       console.error(`Found ${missing.length} missing disabled specs: \n${missing.join('\n')}`);
       process.exit(1);
     }
+
+    process.exit(0);
   }
 
   const options = args.default ? defaultOptions : getCustomOptions();