Skip to content

Commit

Permalink
fix: forget normalize pkg directory on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tjx666 committed Mar 30, 2024
1 parent 9633b22 commit 1caccf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const getPackageInfo = memoizeAsync(
return {
name: pkg.name,
version: pkg.version,
directory: path.dirname(packageJsonPath),
directory: normalizePath(path.dirname(packageJsonPath)),
};
} catch {
// some package publish dist with a folder named node_modules
Expand Down

0 comments on commit 1caccf2

Please sign in to comment.