like 1f43720026/src/compiler/commandLineParser.ts but without removing the open-curly of the function
This commit is contained in:
Benjamin Bock
2016-12-05 11:35:38 +01:00
committed by GitHub
parent b7e8a6d1f1
commit fee777dd9c

View File

@@ -850,6 +850,7 @@ namespace ts {
*/
export function parseJsonConfigFileContent(json: any, host: ParseConfigHost, basePath: string, existingOptions: CompilerOptions = {}, configFileName?: string, resolutionStack: Path[] = []): ParsedCommandLine {
const errors: Diagnostic[] = [];
basePath = normalizeSlashes(basePath);
const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames);
const resolvedPath = toPath(configFileName || "", basePath, getCanonicalFileName);
if (resolutionStack.indexOf(resolvedPath) >= 0) {