summaryrefslogtreecommitdiff
path: root/cli/proc_state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r--cli/proc_state.rs8
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