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 699e7ec commit de8af3fCopy full SHA for de8af3f
Extension/src/LanguageServer/configurations.ts
@@ -2139,7 +2139,7 @@ export class CppProperties {
2139
badPath = `"${expandedPaths[0]}"`;
2140
}
2141
message = localize('cannot.find', "Cannot find: {0}", badPath);
2142
- if (incorrectExpandedPaths.length === 1 && incorrectExpandedPaths[0].match(/".*"/) !== null) {
+ if (incorrectExpandedPaths.some(p => p.match(/".*"/) !== null)) {
2143
message += '.\n' + localize('wrapped.with.quotes', 'Do not add extra quotes around paths.');
2144
2145
newSquiggleMetrics.PathNonExistent++;
0 commit comments