diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-11-25 15:33:23 +0100 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-11-25 09:33:23 -0500 |
commit | 658ec2aaf9c7e0d0b4ded4e97a3d89dc2fa25806 (patch) | |
tree | 1996038f0f62ed207fe5a1adb518a299eafbe0c8 /cli/lib.rs | |
parent | bca23e64339f9b41272e4a01e4c1a86602e5c1e4 (diff) |
better error message for missing module (#3402)
Diffstat (limited to 'cli/lib.rs')
-rw-r--r-- | cli/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lib.rs b/cli/lib.rs index df9c3db54..416147422 100644 --- a/cli/lib.rs +++ b/cli/lib.rs @@ -176,7 +176,7 @@ async fn print_file_info(worker: Worker, module_specifier: ModuleSpecifier) { let maybe_source_file = global_state_ .file_fetcher - .fetch_source_file_async(&module_specifier) + .fetch_source_file_async(&module_specifier, None) .await; if let Err(err) = maybe_source_file { println!("{}", err); @@ -197,7 +197,7 @@ async fn print_file_info(worker: Worker, module_specifier: ModuleSpecifier) { let maybe_compiled = global_state_ .clone() - .fetch_compiled_module(&module_specifier) + .fetch_compiled_module(&module_specifier, None) .await; if let Err(e) = maybe_compiled { debug!("compiler error exiting!"); |