summaryrefslogtreecommitdiff
path: root/cli/args/mod.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-12-17 11:11:07 +0100
committerGitHub <noreply@github.com>2023-12-17 11:11:07 +0100
commitceaa646a341a3353087ce94c23afa568c232eb06 (patch)
tree1b30fcba8514d03c4d7c7bce43f080f303cd4c55 /cli/args/mod.rs
parentcd480b481ee1b4209910aa7a8f81ffa996e7b0f9 (diff)
fix(jupyter): Deno.test() panic (#21606)
Fixes https://github.com/denoland/deno/issues/21594 I verified locally that this fixes the problem. I'm working on testing harness for Jupyter kernel to catch regressions like this and will add it in a follow up PR.
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r--cli/args/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index 722ded558..187d3d604 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -1245,7 +1245,9 @@ impl CliOptions {
self.flags.enable_op_summary_metrics
|| matches!(
self.flags.subcommand,
- DenoSubcommand::Test(_) | DenoSubcommand::Repl(_)
+ DenoSubcommand::Test(_)
+ | DenoSubcommand::Repl(_)
+ | DenoSubcommand::Jupyter(_)
)
}