From e46584a75a5a94cede193945dfd59eed8417aea0 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 29 Jun 2022 20:41:48 -0400 Subject: fix(vendor): ignore import map in output directory instead of erroring (#14998) --- cli/proc_state.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cli/proc_state.rs') diff --git a/cli/proc_state.rs b/cli/proc_state.rs index 47b4ac752..b6b09c948 100644 --- a/cli/proc_state.rs +++ b/cli/proc_state.rs @@ -117,7 +117,7 @@ impl ProcState { if let Ok(Some(import_map_path)) = ps .options - .resolve_import_map_path() + .resolve_import_map_specifier() .map(|ms| ms.and_then(|ref s| s.to_file_path().ok())) { files_to_watch_sender.send(vec![import_map_path]).unwrap(); @@ -153,7 +153,8 @@ impl ProcState { let lockfile = cli_options .resolve_lock_file()? .map(|f| Arc::new(Mutex::new(f))); - let maybe_import_map_specifier = cli_options.resolve_import_map_path()?; + let maybe_import_map_specifier = + cli_options.resolve_import_map_specifier()?; let maybe_import_map = if let Some(import_map_specifier) = maybe_import_map_specifier { -- cgit v1.2.3