1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

fix(npm): ignore the unstable error in the lsp (#15727)

This commit is contained in:
David Sherret 2022-09-01 12:06:23 -04:00 committed by GitHub
parent e1d7d7b0e3
commit 67713f4b93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {