Skip to content

Commit b968525

Browse files
committed
chore - deno 2, print DENO_DIR in CI
1 parent ec3f647 commit b968525

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

package/src/cmd/pkg-cmd.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ export function packageCommand(run: (config: Configuration) => Promise<void>, co
5151
Deno.env.set("QUARTO_DEBUG", "true");
5252

5353
// Print the configuration
54-
printConfiguration(config);
54+
await group("Configuration info", async () => {
55+
printConfiguration(config);
56+
});
5557

5658
await group(commandName, async () => {
5759
// Run the command

package/src/common/config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,11 @@ export function printConfiguration(config: Configuration) {
120120
info("");
121121
info("******************************************");
122122
info("Configuration:");
123-
info(` - OS: ${config.os}`);
124-
info(` - Arch: ${config.arch}`);
125-
info(` - Version: ${config.version}`);
126-
info(` - Cwd: ${Deno.cwd()}`);
123+
info(` - OS: ${config.os}`);
124+
info(` - Arch: ${config.arch}`);
125+
info(` - Version: ${config.version}`);
126+
info(` - Cwd: ${Deno.cwd()}`);
127+
info(` - DENO_DIR: ${Deno.env.get("DENO_DIR")}`);
127128
info(` - Directory configuration:`);
128129
info(
129130
` - Package folder (build source): ${config.directoryInfo.pkg}`,

0 commit comments

Comments
 (0)