Skip to content

Commit

Permalink
fix(core): createDependencies should work on windows (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Oct 20, 2023
1 parent 228ec45 commit 472fedc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/utils/src/lib/utility-functions/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ export function getDependenciesFromXmlFile(
const found: RawProjectGraphDependency[] = [];

const absoluteNetProjectFilePath = getAbsolutePath(filePath, workspaceRoot);
const netProjectFilePath = relative(
workspaceRoot,
absoluteNetProjectFilePath,
const netProjectFilePath = normalizePath(
relative(workspaceRoot, absoluteNetProjectFilePath),
);
const hostProjectDirectory = normalizePath(
dirname(absoluteNetProjectFilePath),
Expand Down

0 comments on commit 472fedc

Please sign in to comment.