Skip to content

Commit de8af3f

Browse files
committed
PR feedback
1 parent 699e7ec commit de8af3f

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
@@ -2139,7 +2139,7 @@ export class CppProperties {
21392139
badPath = `"${expandedPaths[0]}"`;
21402140
}
21412141
message = localize('cannot.find', "Cannot find: {0}", badPath);
2142-
if (incorrectExpandedPaths.length === 1 && incorrectExpandedPaths[0].match(/".*"/) !== null) {
2142+
if (incorrectExpandedPaths.some(p => p.match(/".*"/) !== null)) {
21432143
message += '.\n' + localize('wrapped.with.quotes', 'Do not add extra quotes around paths.');
21442144
}
21452145
newSquiggleMetrics.PathNonExistent++;

0 commit comments

Comments
 (0)