From 501472f06ba52d46611bd1ffd8bf4fe9de94425d Mon Sep 17 00:00:00 2001 From: Fenix Date: Wed, 4 Jan 2023 00:19:28 +0800 Subject: fix(cli): bundle command support shebang file (#17113) --- cli/tests/testdata/subdir/shebang_file.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cli/tests/testdata/subdir/shebang_file.js (limited to 'cli/tests/testdata/subdir') 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); +} -- cgit v1.2.3