Skip to content

Commit 0a07fca

Browse files
authored
fix: correctly resolve glob patterns on Windows platform
1 parent f56e4d3 commit 0a07fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/get-workspace-package-paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export async function getWorkspacePackagePaths(workspaces: string[], cwd = proce
77
workspaces
88
/** We are only interested in workspaces that are packages (for now.) */
99
.filter(workspacePattern => workspacePattern.startsWith('packages/'))
10-
.map(workspacePattern => path.join(workspacePattern, 'package.json')),
10+
.map(workspacePattern => path.posix.join(workspacePattern, 'package.json')),
1111
{
1212
cwd,
1313
ignore: ['**/node_modules/**', ...buildArtifactDirectories],

0 commit comments

Comments
 (0)