diff options
Diffstat (limited to 'src/utils/push.rs')
-rw-r--r-- | src/utils/push.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils/push.rs b/src/utils/push.rs index c79a004..16bf8e7 100644 --- a/src/utils/push.rs +++ b/src/utils/push.rs @@ -63,10 +63,7 @@ pub async fn push_profile( build_command = match (keep_result, supports_flakes) { (true, _) => { - let result_path = match result_path { - Some(x) => x, - None => "./.deploy-gc", - }; + let result_path = result_path.unwrap_or("./.deploy-gc"); build_command.arg("--out-link").arg(format!( "{}/{}/{}", |