We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd16758 commit a30876fCopy full SHA for a30876f
1 file changed
src/handler/mod.rs
@@ -35,11 +35,8 @@ pub(crate) async fn call_followup_lifecycle_script<T: Debug>(
35
let command_result =
36
call_lifecycle_script(deploy_base_directory, lifecycle_event_name, state).await?;
37
38
- if previous_result.is_err() {
39
- Err(previous_result.unwrap_err())
40
- } else {
41
- Ok(command_result)
42
- }
+ previous_result?;
+ Ok(command_result)
43
}
44
45
pub(crate) async fn call_and_aggregate_lifecycle_script(
0 commit comments