diff options
author | 2021-12-28 03:42:44 -0800 | |
---|---|---|
committer | 2021-12-28 03:42:44 -0800 | |
commit | f31e67b13dd0bb153f00f73dec71340cae3fc897 (patch) | |
tree | db1a93c31165d6bfc349bbc2864788ae46d908e6 | |
parent | 6f4d48cc6cf01e10bcae1b0be85920791c7a7fd6 (diff) | |
download | bun-f31e67b13dd0bb153f00f73dec71340cae3fc897.tar.gz bun-f31e67b13dd0bb153f00f73dec71340cae3fc897.tar.zst bun-f31e67b13dd0bb153f00f73dec71340cae3fc897.zip |
woops
-rw-r--r-- | src/cli.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cli.zig b/src/cli.zig index 5727615f2..9f5e0cac2 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -869,6 +869,12 @@ pub const Command = struct { } } + if (ctx.positionals.len > 0 and extension.len == 0) { + if (try RunCommand.exec(ctx, true, false)) { + return; + } + } + if (options.defaultLoaders.get(extension)) |loader| { if (loader.isJavaScriptLike()) { possibly_open_with_bun_js: { |