Skip to content

Commit c2eabdd

Browse files
committed
Write ExitStatus as enumng-rootDir-is-in-the-tsconfig.js
1 parent 348735a commit c2eabdd

File tree

137 files changed

+137
-137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+137
-137
lines changed

src/testRunner/unittests/tsc/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ namespace ts {
222222
sys.write(`${sys.getExecutingFilePath()} ${commandLineArgs.join(" ")}\n`);
223223
sys.exit = exitCode => sys.exitCode = exitCode;
224224
executeCommandLine(sys, commandLineArgs);
225-
sys.write(`exitCode:: ${sys.exitCode}\n`);
225+
sys.write(`exitCode:: ExitStatus.${ExitStatus[sys.exitCode as ExitStatus]}\n`);
226226
if (baselineReadFileCalls) {
227227
sys.write(`readFiles:: ${JSON.stringify(actualReadFileMap, /*replacer*/ undefined, " ")} `);
228228
}

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/modules-and-globals-mixed-in-amd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.js]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.js]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.js]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/shebang-in-all-projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.js]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/stripInternal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.js]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.js]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:08:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.js]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
12:08:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

17-
exitCode:: 0
17+
exitCode:: ExitStatus.Success
1818

1919

2020
//// [/src/app/module.d.ts.map]

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/stripInternal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
12:08:00 AM - Updating output of project '/src/app/tsconfig.json'...
1414

15-
exitCode:: 0
15+
exitCode:: ExitStatus.Success
1616

1717

1818
//// [/src/app/module.d.ts]

0 commit comments

Comments
 (0)