/third_party/node/test/fixtures/ |
D | process-exit-code-cases.js | 8 process.exitCode = 42; 10 assert.strictEqual(process.exitCode, 42); 17 process.exitCode = 99; 19 assert.strictEqual(process.exitCode, 42); 27 process.exitCode = 99; 29 assert.strictEqual(process.exitCode, 0); 37 process.exitCode = 99; 41 if (code !== 1 || process.exitCode !== 1) { 55 process.exitCode = 95; 57 assert.strictEqual(process.exitCode, 95); [all …]
|
/third_party/node/deps/npm/test/lib/commands/ |
D | outdated.js | 269 t.equal(process.exitCode, 1) 281 t.equal(process.exitCode, 1) 294 t.equal(process.exitCode, 1) 307 t.equal(process.exitCode, 1) 320 t.equal(process.exitCode, 1) 332 t.equal(process.exitCode, 1) 344 t.equal(process.exitCode, 1) 357 t.equal(process.exitCode, 1) 369 t.equal(process.exitCode, 1) 382 t.equal(process.exitCode, 1) [all …]
|
D | query.js | 243 const { exitCode } = process 244 t.afterEach(() => process.exitCode = exitCode) 262 t.ok(process.exitCode, 'exits with code') 271 t.notOk(process.exitCode, 'exits without code') 280 t.notOk(process.exitCode, 'exits without code') 290 t.ok(process.exitCode, 'exits with code') 299 t.notOk(process.exitCode, 'exits without code') 309 t.ok(process.exitCode, 'exits with code') 319 t.ok(process.exitCode, 'exits with code')
|
D | audit.js | 89 t.ok(process.exitCode, 'would have exited uncleanly') 137 t.ok(process.exitCode, 'would have exited uncleanly') 166 t.ok(process.exitCode, 'would have exited uncleanly') 957 t.notOk(process.exitCode, 'should exit successfully') 990 t.notOk(process.exitCode, 'should exit successfully') 1006 t.notOk(process.exitCode, 'should exit successfully') 1112 t.equal(process.exitCode, 1, 'should exit with error') 1129 t.notOk(process.exitCode, 'should exit successfully') 1144 t.equal(process.exitCode, 1, 'should exit with error') 1161 t.equal(process.exitCode, 1, 'should exit with error') [all …]
|
/third_party/node/deps/npm/lib/utils/ |
D | exit-handler.js | 35 process.exitCode = code || 1 134 let exitCode = process.exitCode || 0 variable 135 let noLogMessage = exitCode !== 0 139 exitCode = 1 147 exitCode = err.code 200 exitCode = err.errno 202 exitCode = err.code 211 log.verbose('exit', exitCode || 0) 215 : !!exitCode 222 const exit = () => ++flushed === flush.length && process.exit(exitCode)
|
/third_party/node/deps/npm/test/lib/utils/ |
D | exit-handler.js | 50 process.exitCode = code || process.exitCode || 0 51 process.emit('exit', process.exitCode) 144 t.equal(process.exitCode, 1) 186 t.equal(process.exitCode, 1) 197 t.equal(process.exitCode, 1) 208 t.equal(process.exitCode, 1) 215 t.equal(process.exitCode, 1) 222 t.equal(process.exitCode, 1) 233 t.equal(process.exitCode, 1) 258 t.equal(process.exitCode, 1) [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | APISample_compile.js | 38 var exitCode = emitResult.emitSkipped ? 1 : 0; variable 39 console.log(`Process exiting with code '${exitCode}'.`); 40 process.exit(exitCode); 72 var exitCode = emitResult.emitSkipped ? 1 : 0; 73 console.log("Process exiting with code '".concat(exitCode, "'.")); 74 process.exit(exitCode);
|
/third_party/typescript/tests/baselines/reference/tsc/incremental/ |
D | when-new-file-is-added-to-the-referenced-project.js | 36 exitCode:: ExitStatus.Success 118 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 132 exitCode:: ExitStatus.Success 197 exitCode:: ExitStatus.Success 221 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 277 exitCode:: ExitStatus.Success
|
D | noEmit-changes-incremental-declaration.js | 59 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 259 exitCode:: ExitStatus.Success 270 exitCode:: ExitStatus.Success 312 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 505 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 631 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 642 exitCode:: ExitStatus.Success 653 exitCode:: ExitStatus.Success 672 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 720 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated [all …]
|
D | noEmit-changes-composite.js | 59 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 260 exitCode:: ExitStatus.Success 271 exitCode:: ExitStatus.Success 313 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 521 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 644 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 655 exitCode:: ExitStatus.Success 666 exitCode:: ExitStatus.Success 685 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 733 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated [all …]
|
D | noEmit-changes-incremental.js | 59 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 233 exitCode:: ExitStatus.Success 244 exitCode:: ExitStatus.Success 286 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 470 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 597 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 608 exitCode:: ExitStatus.Success 619 exitCode:: ExitStatus.Success 638 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated 686 exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated [all …]
|
D | with-only-dts-files.js | 30 exitCode:: ExitStatus.Success 79 exitCode:: ExitStatus.Success 93 exitCode:: ExitStatus.Success
|
/third_party/node/test/parallel/ |
D | test-stdout-close-unref.js | 39 proc.on('exit', common.mustCall(function(exitCode) { argument 40 if (exitCode !== 0) 41 process.exitCode = exitCode;
|
D | test-stdio-closed.js | 20 proc.on('exit', common.mustCall(function(exitCode) { argument 21 assert.strictEqual(exitCode, 0); 35 proc.on('exit', common.mustCall(function(exitCode) { argument 36 assert.strictEqual(exitCode, 0);
|
D | test-domain-with-abort-on-uncaught-exception.js | 111 child.on('exit', function onChildExited(exitCode, signal) { argument 116 assert(common.nodeProcessAborted(exitCode, signal), 121 assert.strictEqual(exitCode, 7); 128 assert.strictEqual(exitCode, 0);
|
D | test-inspector-debug-end.js | 12 strictEqual((await instance.expectShutdown()).exitCode, 42); 19 strictEqual((await instance.expectShutdown()).exitCode, 42); 35 strictEqual((await instance.expectShutdown()).exitCode, 42);
|
/third_party/node/tools/ |
D | lint-sh.mjs | 75 if (!process.exitCode) process.exitCode = 1; 118 if (!process.exitCode && code) process.exitCode = code; 132 if (!process.exitCode && code) process.exitCode = code; 172 process.exitCode = 1;
|
/third_party/typescript/tests/baselines/reference/tsbuild/configFileErrors/ |
D | reports-syntax-errors-in-config-file.js | 46 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 115 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 137 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 156 exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped 170 exitCode:: ExitStatus.Success
|
/third_party/typescript/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/ |
D | using-dynamic-priority-polling.js | 49 exitCode:: ExitStatus.undefined 68 exitCode:: ExitStatus.undefined 86 exitCode:: ExitStatus.undefined 121 exitCode:: ExitStatus.undefined 140 exitCode:: ExitStatus.undefined
|
D | using-fixed-chunk-size-polling.js | 62 exitCode:: ExitStatus.undefined 89 exitCode:: ExitStatus.undefined 111 exitCode:: ExitStatus.undefined 153 exitCode:: ExitStatus.undefined 177 exitCode:: ExitStatus.undefined
|
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
D | error.js | 15 constructor(exitCode, code, message) { argument 21 this.exitCode = exitCode;
|
/third_party/node/deps/npm/node_modules/npm-audit-report/lib/ |
D | index.js | 10 const exitCode = require('./exit-code.js') constant 39 exitCode: exitCode(data, auditLevel),
|
/third_party/typescript/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/ |
D | with-non-synchronous-watch-directory.js | 76 exitCode:: ExitStatus.undefined 114 exitCode:: ExitStatus.undefined 168 exitCode:: ExitStatus.undefined 220 exitCode:: ExitStatus.undefined 249 exitCode:: ExitStatus.undefined 278 exitCode:: ExitStatus.undefined 310 exitCode:: ExitStatus.undefined 341 exitCode:: ExitStatus.undefined 372 exitCode:: ExitStatus.undefined 427 exitCode:: ExitStatus.undefined
|
/third_party/node/deps/npm/node_modules/signal-exit/dist/mjs/ |
D | index.js | 221 this.#process.exitCode = code || 0; 223 this.#emitter.emit('exit', this.#process.exitCode, null); 224 return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode); 230 this.#process.exitCode = args[0]; 236 this.#emitter.emit('exit', this.#process.exitCode, null);
|
/third_party/typescript/tests/cases/compiler/ |
D | APISample_compile.ts | 41 var exitCode = emitResult.emitSkipped ? 1 : 0; 42 console.log(`Process exiting with code '${exitCode}'.`); 43 process.exit(exitCode);
|