Skip to content

Commit 7f14aea

Browse files
Merge branch 'main' into fix=component-paths-in-different-folders
2 parents 8c3c9c8 + df715bc commit 7f14aea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ jobs:
153153
# - latest reenable when https://github.com/nodejs/node/issues/57172 is fixed
154154
os:
155155
- ubuntu-latest
156-
- windows-latest
156+
# NOTE: windows-2025 (which is now latest) seems to hang on test runs
157+
- windows-2022
157158
- macos-latest
158159
build-type:
159160
- 'release'

src/componentize.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ export async function componentize(
264264
let args = `--initializer-script-path ${initializerPath} --strip-path-prefix ${workspacePrefix}/ ${sourcePath}`;
265265
runtimeArgs = runtimeArgs ? `${runtimeArgs} ${args}` : args;
266266

267-
let preopens = [`--dir ${sourcesDir}`];
268-
preopens.push(`--mapdir /::${workspacePrefix}`);
267+
let preopens = [`--dir=${sourcesDir}`];
268+
preopens.push(`--mapdir=/::${workspacePrefix}`);
269269

270270
let postProcess;
271271

@@ -286,7 +286,6 @@ export async function componentize(
286286
stdio: [null, stdout, 'pipe'],
287287
env,
288288
input: runtimeArgs,
289-
shell: true,
290289
encoding: 'utf-8',
291290
},
292291
);

0 commit comments

Comments
 (0)