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 ffdfc66 commit 14ddecfCopy full SHA for 14ddecf
Extension/src/LanguageServer/configurations.ts
@@ -1575,7 +1575,7 @@ export class CppProperties {
1575
result = result.slice(1, -1);
1576
}
1577
// On Windows, isAbsolute does not handle root paths without a slash, such as "C:"
1578
- const isWindowsRootPath: boolean = (process.platform === 'win32' && /^[a-zA-Z]:$/.test(result));
+ const isWindowsRootPath: boolean = process.platform === 'win32' && /^[a-zA-Z]:$/.test(result);
1579
// Make sure all paths result to an absolute path.
1580
// Do not add the root path to an unresolved env variable.
1581
if (!isWindowsRootPath && !result.includes("env:") && !path.isAbsolute(result) && this.rootUri) {
0 commit comments