Skip to content

Commit e4af02b

Browse files
committed
Toss the option out the window
1 parent 3598b90 commit e4af02b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ namespace ts {
374374
* Read tsconfig.json file
375375
* @param fileName The path to the config file
376376
*/
377-
export function readConfigFile(fileName: string, system: System = sys): { config?: any; error?: Diagnostic } {
377+
export function readConfigFile(fileName: string, system: System): { config?: any; error?: Diagnostic } {
378378
let text = "";
379379
try {
380380
text = system.readFile(fileName);

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ namespace ts {
216216
if (!cachedProgram) {
217217
if (configFileName) {
218218

219-
let result = readConfigFile(configFileName);
219+
let result = readConfigFile(configFileName, sys);
220220
if (result.error) {
221221
reportDiagnostic(result.error);
222222
return sys.exit(ExitStatus.DiagnosticsPresent_OutputsSkipped);

0 commit comments

Comments
 (0)