Skip to content

Commit 85dfe4d

Browse files
committed
feat(out) this is embarrassing
closes #244
1 parent a93479b commit 85dfe4d

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

dist/main/tsconfig/tsconfig.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,6 @@ function getProjectSync(pathOrSrcFile) {
239239
if (validationResult.errorMessage) {
240240
throw errorWithDetails(new Error(exports.errors.GET_PROJECT_PROJECT_FILE_INVALID_OPTIONS), { projectFilePath: consistentPath(projectFile), errorMessage: validationResult.errorMessage });
241241
}
242-
if (projectSpec.compilerOptions && projectSpec.compilerOptions.out) {
243-
throw errorWithDetails(new Error(exports.errors.GET_PROJECT_PROJECT_FILE_INVALID_OPTIONS), { projectFilePath: consistentPath(projectFile), errorMessage: "We don't support --out because it will hurt you in the long run." });
244-
}
245242
project.compilerOptions = rawToTsCompilerOptions(projectSpec.compilerOptions, projectFileDirectory);
246243
project.files = increaseProjectForReferenceAndImports(project.files);
247244
var typings = getDefinitionsForNodeModules(dir, project.files);

lib/main/tsconfig/tsconfig.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -385,14 +385,6 @@ export function getProjectSync(pathOrSrcFile: string): TypeScriptProjectFileDeta
385385
);
386386
}
387387

388-
// Don't support `--out`
389-
if (projectSpec.compilerOptions && projectSpec.compilerOptions.out) {
390-
throw errorWithDetails<GET_PROJECT_PROJECT_FILE_INVALID_OPTIONS_Details>(
391-
new Error(errors.GET_PROJECT_PROJECT_FILE_INVALID_OPTIONS),
392-
{ projectFilePath: consistentPath(projectFile), errorMessage: "We don't support --out because it will hurt you in the long run." }
393-
);
394-
}
395-
396388
// Convert the raw options to TS options
397389
project.compilerOptions = rawToTsCompilerOptions(projectSpec.compilerOptions, projectFileDirectory);
398390

0 commit comments

Comments
 (0)