We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 007f367 commit 68036d3Copy full SHA for 68036d3
1 file changed
package/scripts/vendoring/vendor.cmd
@@ -18,9 +18,12 @@ IF NOT DEFINED DENO_DIR (
18
19
ECHO Revendoring quarto dependencies
20
21
-REM remove deno_cache directory first
+REM remove deno_cache directory first, unless explicitly told to preserve
22
+REM (CI sets QUARTO_SKIP_DENO_CACHE_WIPE=1 so a restored cache survives vendor.cmd)
23
IF EXIST "!DENO_DIR!" (
- RMDIR /S /Q "!DENO_DIR!"
24
+ IF NOT "!QUARTO_SKIP_DENO_CACHE_WIPE!"=="1" (
25
+ RMDIR /S /Q "!DENO_DIR!"
26
+ )
27
)
28
29
PUSHD "!QUARTO_SRC_PATH!"
0 commit comments