Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Commit 472fedc

Browse files
authored
fix(core): createDependencies should work on windows (#782)
1 parent 228ec45 commit 472fedc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/utils/src/lib/utility-functions/workspace.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ export function getDependenciesFromXmlFile(
8787
const found: RawProjectGraphDependency[] = [];
8888

8989
const absoluteNetProjectFilePath = getAbsolutePath(filePath, workspaceRoot);
90-
const netProjectFilePath = relative(
91-
workspaceRoot,
92-
absoluteNetProjectFilePath,
90+
const netProjectFilePath = normalizePath(
91+
relative(workspaceRoot, absoluteNetProjectFilePath),
9392
);
9493
const hostProjectDirectory = normalizePath(
9594
dirname(absoluteNetProjectFilePath),

0 commit comments

Comments
 (0)