Skip to content

Commit

Permalink
Merge pull request #1654 from Microsoft/master
Browse files Browse the repository at this point in the history
don't repeatedly mark the c_cpp_properties.json file as dirty on Windows
  • Loading branch information
bobbrow authored Mar 8, 2018
2 parents 3ca02da + 1177ab5 commit 263b69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/src/LanguageServer/configurations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export class CppProperties {

// Update the compilerPath, cStandard, and cppStandard with the default if they're missing.
let config: Configuration = this.configurationJson.configurations[this.CurrentConfiguration];
if (!config.compilerPath) {
if (config.compilerPath === undefined) {
config.compilerPath = this.defaultCompilerPath;
dirty = true;
}
Expand Down

0 comments on commit 263b69e

Please sign in to comment.