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/bundle/shebang_file.bundle.out | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cli/tests/testdata/bundle/shebang_file.bundle.out (limited to 'cli/tests/testdata/bundle/shebang_file.bundle.out') diff --git a/cli/tests/testdata/bundle/shebang_file.bundle.out b/cli/tests/testdata/bundle/shebang_file.bundle.out new file mode 100644 index 000000000..1be80b68c --- /dev/null +++ b/cli/tests/testdata/bundle/shebang_file.bundle.out @@ -0,0 +1,10 @@ +[WILDCARD] +#!/usr/bin/env -S deno run --allow-read +// deno-fmt-ignore-file +// deno-lint-ignore-file +// This code was bundled using `deno bundle` and it's not recommended to edit it manually + +for (const item of Deno.readDirSync(".")){ + console.log(item.name); +} + -- cgit v1.2.3