Skip to content

Commit 263b69e

Browse files
authored
Merge pull request #1654 from Microsoft/master
don't repeatedly mark the c_cpp_properties.json file as dirty on Windows
2 parents 3ca02da + 1177ab5 commit 263b69e

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)