File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments