mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix: deno version panic (#2286)
This commit is contained in:
parent
3b1e2f1ad4
commit
5824e55efa
3 changed files with 6 additions and 1 deletions
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
3
tests/version.out
Normal file
3
tests/version.out
Normal file
|
@ -0,0 +1,3 @@
|
|||
deno:[WILDCARD]
|
||||
v8:[WILDCARD]
|
||||
typescript:[WILDCARD]
|
2
tests/version.test
Normal file
2
tests/version.test
Normal file
|
@ -0,0 +1,2 @@
|
|||
args: version
|
||||
output: tests/version.out
|
Loading…
Add table
Reference in a new issue