diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-09-01 12:06:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 12:06:23 -0400 |
commit | 67713f4b9354799c4013dda9558470ce18989627 (patch) | |
tree | eac1b4251565d128f382175e09568592a5e48207 | |
parent | e1d7d7b0e365c3ddfee9e52371dd2c6d75e132e6 (diff) |
fix(npm): ignore the unstable error in the lsp (#15727)
-rw-r--r-- | cli/proc_state.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs index 806bb030b..7175f18e1 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 { |