We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bede6ed + 7c251bc commit 7ed6c7aCopy full SHA for 7ed6c7a
src/compiler/tsc.ts
@@ -567,7 +567,7 @@ namespace ts {
567
568
function writeConfigFile(options: CompilerOptions, fileNames: string[]) {
569
let currentDirectory = sys.getCurrentDirectory();
570
- let file = combinePaths(currentDirectory, "tsconfig.json");
+ let file = normalizePath(combinePaths(currentDirectory, "tsconfig.json"));
571
if (sys.fileExists(file)) {
572
reportDiagnostic(createCompilerDiagnostic(Diagnostics.A_tsconfig_json_file_is_already_defined_at_Colon_0, file));
573
}
0 commit comments