Skip to content

Commit 495932c

Browse files
committed
Fix linter.
1 parent b120b80 commit 495932c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Extension/src/LanguageServer/configurations.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -999,9 +999,9 @@ export class CppProperties {
999999
// If the user doesn't set browse.path, copy the includePath over. Make sure ${workspaceFolder} is in there though...
10001000
configuration.browse.path = configuration.includePath.slice(0);
10011001
if (this.rootUri) {
1002-
let normalizedRootUriFsPath: string = escapeStringRegExp(this.rootUri.fsPath.replace(/\\/g, "/"));
1003-
let regexPattern = `^${normalizedRootUriFsPath}(\\*{0,2}|\/\\*{0,2})?$`;
1004-
let regex = new RegExp(regexPattern, "g");
1002+
const normalizedRootUriFsPath: string = escapeStringRegExp(this.rootUri.fsPath.replace(/\\/g, "/"));
1003+
const regexPattern = `^${normalizedRootUriFsPath}(\\*{0,2}|\/\\*{0,2})?$`;
1004+
const regex = new RegExp(regexPattern, "g");
10051005
if (configuration.includePath.findIndex((value: string) =>
10061006
!!value.match(regex)) === -1
10071007
) {

0 commit comments

Comments
 (0)