Skip to content

Commit 3f4f116

Browse files
committed
set env path to defaults in release mode
1 parent 457b8d0 commit 3f4f116

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/quarto.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ export const quartoConfig = {
4343
};
4444
if (quartoConfig.isDebug()) {
4545
options.path = join(quartoConfig.sharePath(), "..", "..", ".env");
46+
} else {
47+
options.path = options.defaults;
4648
}
4749
dotenvConfig = await config(options);
4850
}

0 commit comments

Comments
 (0)