@@ -1948,7 +1948,7 @@ export class CppProperties {
1948
1948
compilerPath = checkPathExists . path ;
1949
1949
}
1950
1950
if ( ! compilerPathExists ) {
1951
- compilerMessage = localize ( 'cannot.find2 ' , "Cannot find \" {0}\". " , compilerPath ) ;
1951
+ compilerMessage = localize ( 'cannot.find ' , "Cannot find: {0}" , compilerPath ) ;
1952
1952
newSquiggleMetrics . PathNonExistent ++ ;
1953
1953
}
1954
1954
if ( compilerMessage ) {
@@ -1975,7 +1975,7 @@ export class CppProperties {
1975
1975
dotConfigPath = checkPathExists . path ;
1976
1976
}
1977
1977
if ( ! dotConfigPathExists ) {
1978
- dotConfigMessage = localize ( 'cannot.find2 ' , "Cannot find \" {0}\". " , dotConfigPath ) ;
1978
+ dotConfigMessage = localize ( 'cannot.find ' , "Cannot find: {0}" , dotConfigPath ) ;
1979
1979
newSquiggleMetrics . PathNonExistent ++ ;
1980
1980
} else if ( dotConfigPath && ! util . checkFileExistsSync ( dotConfigPath ) ) {
1981
1981
dotConfigMessage = localize ( "path.is.not.a.file" , "Path is not a file: {0}" , dotConfigPath ) ;
@@ -2083,7 +2083,7 @@ export class CppProperties {
2083
2083
} else {
2084
2084
badPath = `"${ expandedPaths [ 0 ] } "` ;
2085
2085
}
2086
- message = localize ( 'cannot.find2 ' , "Cannot find {0}" , badPath ) ;
2086
+ message = localize ( 'cannot.find ' , "Cannot find: {0}" , badPath ) ;
2087
2087
newSquiggleMetrics . PathNonExistent ++ ;
2088
2088
} else {
2089
2089
// Check for file versus path mismatches.
@@ -2141,7 +2141,7 @@ export class CppProperties {
2141
2141
endOffset = curOffset + curMatch . length ;
2142
2142
let message : string ;
2143
2143
if ( ! pathExists ) {
2144
- message = localize ( 'cannot.find2 ' , "Cannot find \" {0}\". " , expandedPaths [ 0 ] ) ;
2144
+ message = localize ( 'cannot.find ' , "Cannot find: {0}" , expandedPaths [ 0 ] ) ;
2145
2145
newSquiggleMetrics . PathNonExistent ++ ;
2146
2146
const diagnostic : vscode . Diagnostic = new vscode . Diagnostic (
2147
2147
new vscode . Range ( document . positionAt ( envTextStartOffSet + curOffset ) ,
0 commit comments