Skip to content

Commit 1177ab5

Browse files
authored
don't repeatedly mark the c_cpp_properties.json file as dirty on Windows (#1653)
1 parent 17d19a9 commit 1177ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/configurations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export class CppProperties {
463463

464464
// Update the compilerPath, cStandard, and cppStandard with the default if they're missing.
465465
let config: Configuration = this.configurationJson.configurations[this.CurrentConfiguration];
466-
if (!config.compilerPath) {
466+
if (config.compilerPath === undefined) {
467467
config.compilerPath = this.defaultCompilerPath;
468468
dirty = true;
469469
}

0 commit comments

Comments
 (0)