From 67713f4b9354799c4013dda9558470ce18989627 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 1 Sep 2022 12:06:23 -0400 Subject: [PATCH] fix(npm): ignore the unstable error in the lsp (#15727) --- cli/proc_state.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/proc_state.rs b/cli/proc_state.rs index 806bb030b2..7175f18e16 100644 --- a/cli/proc_state.rs +++ b/cli/proc_state.rs @@ -226,7 +226,9 @@ impl ProcState { &dir, cli_options.reload_flag(), cli_options.cache_setting(), - cli_options.unstable(), + cli_options.unstable() + // don't do the unstable error when in the lsp + || matches!(cli_options.sub_command(), DenoSubcommand::Lsp), )?; Ok(ProcState(Arc::new(Inner {