diff options
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r-- | cli/file_fetcher.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 0c1d9519d..3e4332b24 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -58,7 +58,7 @@ pub struct File { /// Simple struct implementing in-process caching to prevent multiple /// fs reads/net fetches for same file. -#[derive(Clone, Default)] +#[derive(Debug, Clone, Default)] struct FileCache(Arc<Mutex<HashMap<ModuleSpecifier, File>>>); impl FileCache { @@ -312,7 +312,7 @@ fn strip_shebang(mut value: String) -> String { } /// A structure for resolving, fetching and caching source files. -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct FileFetcher { auth_tokens: AuthTokens, allow_remote: bool, |