Skip to content

Commit 408cd77

Browse files
authored
Merge branch 'main' into seanmcm/signVsix
2 parents f90374a + c65b11b commit 408cd77

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Extension/src/LanguageServer/configurations.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ export class CppProperties {
594594
configuration.intelliSenseMode === "${default}") {
595595
return "";
596596
}
597-
const resolvedCompilerPath: string = this.resolvePath(configuration.compilerPath);
597+
const resolvedCompilerPath: string = this.resolvePath(configuration.compilerPath, false, false);
598598
const settings: CppSettings = new CppSettings(this.rootUri);
599599
const compilerPathAndArgs: util.CompilerPathAndArgs = util.extractCompilerPathAndArgs(!!settings.legacyCompilerArgsBehavior, resolvedCompilerPath);
600600

@@ -1877,8 +1877,7 @@ export class CppProperties {
18771877
// Check for path-related squiggles.
18781878
const paths: string[] = [];
18791879
let compilerPath: string | undefined;
1880-
for (const pathArray of [currentConfiguration.browse ? currentConfiguration.browse.path : undefined,
1881-
currentConfiguration.includePath, currentConfiguration.macFrameworkPath]) {
1880+
for (const pathArray of [currentConfiguration.browse ? currentConfiguration.browse.path : undefined, currentConfiguration.includePath, currentConfiguration.macFrameworkPath]) {
18821881
if (pathArray) {
18831882
for (const curPath of pathArray) {
18841883
paths.push(`${curPath}`);

0 commit comments

Comments
 (0)