Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deno panics when called from a non-existent directory. #14870

Closed
andre4ik3 opened this issue Jun 15, 2022 · 1 comment
Closed

Deno panics when called from a non-existent directory. #14870

andre4ik3 opened this issue Jun 15, 2022 · 1 comment

Comments

@andre4ik3
Copy link

Description:

When Deno is called from a directory that used to exist but doesn't anymore (i.e. deleted externally), it will panic.

Steps to Reproduce:

  1. mkdir /tmp/testing && cd /tmp/testing
  2. deno or deno repl or deno run https://deno.land/std/examples/welcome.ts
  3. Observe that it works

-in another terminal-

rm -rf /tmp/testing

-back to the original terminal-

  1. Re-run the command.
  2. Observe panic.

Backtrace: backtrace.txt

@cjihrig
Copy link
Contributor

cjihrig commented Jun 15, 2022

Closing as a duplicate of #14868.

@cjihrig cjihrig closed this as completed Jun 15, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants