We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c752e31 commit 6e60876Copy full SHA for 6e60876
Extension/src/LanguageServer/configurations.ts
@@ -1424,7 +1424,7 @@ export class CppProperties {
1424
&& compilerPathAndArgs.compilerPath.includes(" ");
1425
resolvedPath = compilerPathAndArgs.compilerPath;
1426
1427
- if (!compilerPathNeedsQuotes && which.sync(resolvedPath)) {
+ if (!compilerPathNeedsQuotes && which.sync(resolvedPath, {nothrow: true})) {
1428
continue; // Don't squiggle if compiler path is resolving with environment path.
1429
}
1430
0 commit comments