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 f1080cc commit f4af0e0Copy full SHA for f4af0e0
src/drivers/cmakeFileApi.ts
@@ -484,7 +484,7 @@ function convertToExtCodeModelFileGroup(targetObject: CodeModelKind.TargetObject
484
const targetRootSource = convertToAbsolutePath(targetObject.paths.source, rootPaths.source);
485
targetObject.sources.forEach(sourceFile => {
486
const fileAbsolutePath = convertToAbsolutePath(sourceFile.path, rootPaths.source);
487
- const fileRelativePath = path.relative(targetRootSource, fileAbsolutePath).replace('\\', '/');
+ const fileRelativePath = path.relative(targetRootSource, fileAbsolutePath).replace(/\\/g, '/');
488
if (sourceFile.compileGroupIndex !== undefined) {
489
fileGroup[sourceFile.compileGroupIndex].sources.push(fileRelativePath);
490
} else {
0 commit comments