summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 9dd7a354e..d36145bea 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -548,7 +548,7 @@ async fn cache_command(
Permissions::allow_all(),
)
.await?;
- if let Some(graph_error) = ps.maybe_graph_error.lock().take() {
+ if let Some(graph_error) = ps.take_graph_error() {
return Err(graph_error.into());
}
}