Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/changelog-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## In this release

- ([#14304](https://github.com/quarto-dev/quarto-cli/issues/14304)): Fix `quarto install tinytex` silently ignoring extraction failures. When archive extraction fails (e.g., `.tar.xz` on a system without `xz-utils`), the installer now reports a clear error instead of proceeding and failing with a confusing `NotFound` message.
- ([#14367](https://github.com/quarto-dev/quarto-cli/issues/14367)): Fix Dart Sass invocation failing on enterprise Windows systems where Group Policy blocks `.bat` execution from `%TEMP%`. When the `safeWindowsExec` temp wrapper is blocked, Quarto now falls back to calling `sass.bat` directly.

## In previous releases

Expand Down
17 changes: 16 additions & 1 deletion src/core/dart-sass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,22 @@ export async function dartCommand(
});
},
);
return processResult(result);
if (result.success) {
return processResult(result);
}

// safeWindowsExec failed — fall back to direct execution (v1.8 behavior).
// Enterprise environments may block .bat execution from %TEMP% via
// Group Policy / AppLocker, causing the temp wrapper to fail.
// See https://github.com/quarto-dev/quarto-cli/issues/14367
debug("[DART] safeWindowsExec failed, falling back to direct execution");
const directResult = await execProcess({
cmd: sass,
args,
stdout: "piped",
stderr: "piped",
});
return processResult(directResult);
}

// Non-Windows: direct execution
Expand Down
Loading