Skip to content

Commit 131418b

Browse files
committed
fix: use nullish check for installDir option in resolveSassCommand
1 parent 4333a9e commit 131418b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/dart-sass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function resolveSassCommand(options?: DartCommandOptions): {
7676
baseArgs: string[];
7777
} {
7878
const installDir = options?.installDir;
79-
if (!installDir) {
79+
if (installDir == null) {
8080
const dartOverrideCmd = Deno.env.get("QUARTO_DART_SASS");
8181
if (dartOverrideCmd) {
8282
if (!existsSync(dartOverrideCmd)) {

0 commit comments

Comments
 (0)