Skip to content

Commit 04bc6c8

Browse files
authored
No error message shown in config UI for invalid compilerPath (#13529)
1 parent 735d741 commit 04bc6c8

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
@@ -1612,7 +1612,7 @@ export class CppProperties {
16121612
resolvedCompilerPath = which.sync(config.compilerPath, { nothrow: true });
16131613
}
16141614

1615-
if (resolvedCompilerPath === undefined) {
1615+
if (!resolvedCompilerPath) {
16161616
resolvedCompilerPath = this.resolvePath(config.compilerPath);
16171617
}
16181618
const settings: CppSettings = new CppSettings(this.rootUri);

0 commit comments

Comments
 (0)