summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-11-15 23:25:52 +0000
committerGitHub <noreply@github.com>2021-11-16 10:25:52 +1100
commitcd9193f126c229f3457ada1cf9a05897fdebb77d (patch)
tree070342089d3a40300f49ba254afd43994ac2a377 /cli/main.rs
parent243d3ba755265dc2cdc5cd0aaffdf9da57d7a931 (diff)
fix(cli): short-circuit in prepare_module_load() (#12604)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/main.rs b/cli/main.rs
index da7848834..5afb34f02 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -582,11 +582,9 @@ async fn cache_command(
lib.clone(),
Permissions::allow_all(),
Permissions::allow_all(),
+ false,
)
.await?;
- if let Some(graph_error) = ps.take_graph_error() {
- return Err(graph_error.into());
- }
}
Ok(())