Skip to content

Commit fee777d

Browse files
authored
1 parent b7e8a6d commit fee777d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ namespace ts {
850850
*/
851851
export function parseJsonConfigFileContent(json: any, host: ParseConfigHost, basePath: string, existingOptions: CompilerOptions = {}, configFileName?: string, resolutionStack: Path[] = []): ParsedCommandLine {
852852
const errors: Diagnostic[] = [];
853+
basePath = normalizeSlashes(basePath);
853854
const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames);
854855
const resolvedPath = toPath(configFileName || "", basePath, getCanonicalFileName);
855856
if (resolutionStack.indexOf(resolvedPath) >= 0) {

0 commit comments

Comments
 (0)