Skip to content

Commit 98258c4

Browse files
t-hamanomukeshpanchal27
andauthored
Build v2: Fix build failure on Windows (#72960)
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
1 parent 9fc4175 commit 98258c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wp-build/src/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const TEST_FILE_PATTERNS = [
6565
*/
6666
function getAllPackages() {
6767
return glob
68-
.sync( path.join( PACKAGES_DIR, '*', 'package.json' ) )
68+
.sync( normalizePath( path.join( PACKAGES_DIR, '*', 'package.json' ) ) )
6969
.map( ( packageJsonPath ) =>
7070
path.basename( path.dirname( packageJsonPath ) )
7171
);

0 commit comments

Comments
 (0)