diff options
author | Adam Odziemkowski <odziem@users.noreply.github.com> | 2020-05-29 02:43:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 02:43:31 -0400 |
commit | 958f21e7abc36f0a5abaa381ed8d7f94c723f3fb (patch) | |
tree | 0e6d2c8664b0c8a7477fa0c37b7b1fac760ff2fa /cli/tests/file_exists.ts | |
parent | 499353ff399ccb6f1c27694ecc861e34a572cada (diff) |
fix(cli): write lock file before running any code (#5794)
Diffstat (limited to 'cli/tests/file_exists.ts')
-rw-r--r-- | cli/tests/file_exists.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/file_exists.ts b/cli/tests/file_exists.ts new file mode 100644 index 000000000..5fc5414b3 --- /dev/null +++ b/cli/tests/file_exists.ts @@ -0,0 +1,6 @@ +try { + await Deno.open(Deno.args[0]); + Deno.exit(0); +} catch (e) { + Deno.exit(1); +} |