Skip to content

Commit db2b47b

Browse files
committed
Fix for shellcode defaults
1 parent ffd2614 commit db2b47b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,10 @@ command not found: node
140140
>
141141
> ```sh
142142
> $ cd my-project
143-
> $ eval "$(pkgx dev .)"
143+
> $ eval "$(pkgx dev)"
144144
> +deno^2
145145
> $ deno --version
146146
> deno 2.1.1
147-
>
148-
> $ dev off
149-
> # ^^ or close your terminal
150147
> ```
151148
>
152149
> The devenv will only exist for the duration of your shell session.

app.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if (parsedArgs.help) {
8383
break;
8484

8585
case undefined:
86-
{
86+
if (Deno.stdout.isTerminal()) {
8787
const cwd = Path.cwd();
8888
const { pkgs } = await sniff(cwd);
8989
if (
@@ -103,6 +103,9 @@ if (parsedArgs.help) {
103103
} else {
104104
console.log("%cno keyfiles found", "color: red");
105105
}
106+
} else {
107+
const cwd = Path.cwd();
108+
await dump(cwd, { dryrun, quiet });
106109
}
107110
break;
108111

0 commit comments

Comments
 (0)