summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-05-04 00:48:50 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-05-03 18:48:50 -0400
commit5824e55efa8312d6ce5f66741c7fb465c5d924e6 (patch)
tree241ee5acb10fc48c31990ffeb7744ecc621def7c /cli/main.rs
parent3b1e2f1ad42cfebb6f2568e54c82c5ac3c8fe3d4 (diff)
fix: deno version panic (#2286)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 8bef2d2ff..a864c2db3 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -300,7 +300,7 @@ fn main() {
DenoSubcommand::Repl => run_repl(flags, argv),
DenoSubcommand::Run => run_script(flags, argv),
DenoSubcommand::Types => types_command(),
- DenoSubcommand::Version => run_script(flags, argv),
+ DenoSubcommand::Version => run_repl(flags, argv),
DenoSubcommand::Xeval => xeval_command(flags, argv),
}
}