summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-06-10 14:19:41 +0200
committerGitHub <noreply@github.com>2020-06-10 14:19:41 +0200
commitdb70b77e4b6a24814e0045f7f6afcf77730878a7 (patch)
tree0aeb0ba674aa6cd2b978742993329616dafa80fc /cli/file_fetcher.rs
parentaf69f25319ba27226f4b79e7d4ed0190448a8b8b (diff)
fix: handle @deno-types in export {} (#6202)
* fix: handle @deno-types in export {} * lint * fix tests * fmt * fix test
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs
index be3bc6efc..8fd1a331e 100644
--- a/cli/file_fetcher.rs
+++ b/cli/file_fetcher.rs
@@ -154,7 +154,11 @@ impl SourceFileFetcher {
permissions: Permissions,
) -> Result<SourceFile, ErrBox> {
let module_url = specifier.as_url().to_owned();
- debug!("fetch_source_file specifier: {} ", &module_url);
+ debug!(
+ "fetch_source_file specifier: {} maybe_referrer: {:#?}",
+ &module_url,
+ maybe_referrer.as_ref()
+ );
// Check if this file was already fetched and can be retrieved from in-process cache.
let maybe_cached_file = self.source_file_cache.get(specifier.to_string());