Closed wojpawlik closed 1 year ago
I'm not able to reproduce.
> cat main.ts
Deno.exit(42);
> deno --version
deno 1.29.0 (release, x86_64-pc-windows-msvc)
v8 10.9.194.5
typescript 4.9.4
V:\scratch2
> deno run main.ts
V:\scratch2
> echo $LastExitCode
42
V:\scratch2
> mv main.ts main.js
V:\scratch2
> deno run main.js
V:\scratch2
> echo $LastExitCode
42
OS-specific?
Is there a deno.json in the current or any ancestor directory? (Does it have a lockfile?) It doesn't happen to me on mac either.
Nope, I just reproduced it in /tmp
.
How did you install Deno? Is the command running the executable running via something else? (does calling which deno
show the deno executable?)
The problem lies in https://github.com/kt3k/deno-bin @kt3k.
https://github.com/grammyjs/grammY/pull/330