diff options
Diffstat (limited to 'cli/lsp/tsc.rs')
-rw-r--r-- | cli/lsp/tsc.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index f02668910..2980e546b 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -2779,13 +2779,13 @@ fn op_resolve( .collect(), ) } - None => Err(custom_error( - "NotFound", - format!( + None => { + lsp_warn!( "Error resolving. Referring specifier \"{}\" was not found.", args.base - ), - )), + ); + Ok(vec![None; args.specifiers.len()]) + } }; state.performance.measure(mark); |