From ceaa646a341a3353087ce94c23afa568c232eb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 17 Dec 2023 11:11:07 +0100 Subject: 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. --- cli/args/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(_) ) } -- cgit v1.2.3