diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-01-13 11:58:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 11:58:00 -0500 |
commit | f12164646ba8327e9e6275b0ab97602f85e9854f (patch) | |
tree | 1668ac008ac455d38d9eacd70dec4ed7f1d542c2 /cli/proc_state.rs | |
parent | 5e2d7737f5542c02572aa6585c8a6a78c84ae5ab (diff) |
refactor: move transpiling to deno_ast (#13332)
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r-- | cli/proc_state.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs index ceff64c54..253878872 100644 --- a/cli/proc_state.rs +++ b/cli/proc_state.rs @@ -382,10 +382,9 @@ impl ProcState { let graph_data = self.graph_data.read(); let found_specifier = graph_data.follow_redirect(specifier); match graph_data.get(&found_specifier) { - Some(_) if !self.reload => Box::pin(futures::future::ready(( - specifier.clone(), - Err(anyhow!("")), - ))), + Some(_) if !self.reload => { + Box::pin(futures::future::ready(Err(anyhow!("")))) + } _ => self.inner.load(specifier, is_dynamic), } } @@ -403,6 +402,7 @@ impl ProcState { maybe_resolver, maybe_locker, None, + None, ) .await; // If there was a locker, validate the integrity of all the modules in the |