summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/subdir/shebang_file.js
diff options
context:
space:
mode:
authorFenix <zhuzhenfeng1993@hotmail.com>2023-01-04 00:19:28 +0800
committerGitHub <noreply@github.com>2023-01-03 16:19:28 +0000
commit501472f06ba52d46611bd1ffd8bf4fe9de94425d (patch)
treeda7ed8162becc75d5e848033341f74f610db3ff2 /cli/tests/testdata/subdir/shebang_file.js
parent7716449d41bef9c41b8de7e16341cbe8b253a6da (diff)
fix(cli): bundle command support shebang file (#17113)
Diffstat (limited to 'cli/tests/testdata/subdir/shebang_file.js')
-rw-r--r--cli/tests/testdata/subdir/shebang_file.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/subdir/shebang_file.js b/cli/tests/testdata/subdir/shebang_file.js
new file mode 100644
index 000000000..1c81be31c
--- /dev/null
+++ b/cli/tests/testdata/subdir/shebang_file.js
@@ -0,0 +1,5 @@
+#!/usr/bin/env -S deno run --allow-read
+
+for (const item of Deno.readDirSync(".")) {
+ console.log(item.name);
+}