Skip to content

Commit 91c13a2

Browse files
committed
Fix vendor.cmd to continue on transient failures
The Windows vendor.cmd script now continues vendoring remaining entrypoints when one fails, matching the Linux vendor.sh behavior which uses set +e to allow errors. This prevents configure.cmd from stopping on transient external errors like skypack 500 responses.
1 parent 195d0b1 commit 91c13a2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package/scripts/vendoring/vendor.cmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ IF EXIST "!DENO_DIR!" (
2626
PUSHD "!QUARTO_SRC_PATH!"
2727

2828
FOR %%E IN (quarto.ts vendor_deps.ts ..\tests\test-deps.ts ..\package\scripts\deno_std\deno_std.ts) DO (
29-
CALL !DENO_BIN_PATH! install --allow-all --no-config --entrypoint %%E --importmap="!QUARTO_SRC_PATH!\import_map.json"
29+
CALL !DENO_BIN_PATH! install --allow-all --no-config --entrypoint %%E --importmap="!QUARTO_SRC_PATH!\import_map.json" || (
30+
ECHO Warning: Failed to vendor %%E, continuing...
31+
)
3032
)
3133

3234
REM Return to the original directory

0 commit comments

Comments
 (0)