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 7d6657c commit 012abeeCopy full SHA for 012abee
Extension/src/LanguageServer/configurations.ts
@@ -1619,7 +1619,7 @@ export class CppProperties {
1619
const compilerPathAndArgs: util.CompilerPathAndArgs = util.extractCompilerPathAndArgs(!!settings.legacyCompilerArgsBehavior, resolvedCompilerPath);
1620
1621
// compilerPath + args in the same string isn't working yet.
1622
- const skipFullCommandString = !compilerPathAndArgs.compilerName && resolvedCompilerPath.indexOf(" ") >= 0;
+ const skipFullCommandString = !compilerPathAndArgs.compilerName && resolvedCompilerPath.includes(" ");
1623
if (resolvedCompilerPath
1624
&& !skipFullCommandString
1625
// Don't error cl.exe paths because it could be for an older preview build.
0 commit comments