diff options
author | Cre3per <12541974+Cre3per@users.noreply.github.com> | 2023-03-23 17:45:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 12:45:43 -0400 |
commit | eb25e50edb8efe6fe8fa973199dccfccf22575c7 (patch) | |
tree | b6c56405b106c6bca0742da37e81e29da6ec8fcd /cli/tests/testdata | |
parent | 81c5ddf9f2cec291be9b7e31e9d8c430585a7519 (diff) |
fix(cli): restore `deno run -` to handle stdin as typescript (#18391)
Bug reported here shortly after merging `--ext` changes
https://github.com/denoland/deno/pull/17172#issuecomment-1480898098
Also found a missing `--check` in integration tests for `--ext` that
would have missed a bug if there was one.
Fixes #18392
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/file_extensions/ts_with_js_extension.out | 2 | ||||
-rw-r--r-- | cli/tests/testdata/file_extensions/ts_without_extension.out | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/file_extensions/ts_with_js_extension.out b/cli/tests/testdata/file_extensions/ts_with_js_extension.out new file mode 100644 index 000000000..1c3739bb9 --- /dev/null +++ b/cli/tests/testdata/file_extensions/ts_with_js_extension.out @@ -0,0 +1,2 @@ +Check [WILDCARD]/file_extensions/ts_with_js_extension.js +executing typescript with extension diff --git a/cli/tests/testdata/file_extensions/ts_without_extension.out b/cli/tests/testdata/file_extensions/ts_without_extension.out index b15c063c8..e1f019f9e 100644 --- a/cli/tests/testdata/file_extensions/ts_without_extension.out +++ b/cli/tests/testdata/file_extensions/ts_without_extension.out @@ -1 +1,2 @@ +Check [WILDCARD]/file_extensions/ts_without_extension executing typescript with no extension |