fix compiler errors

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2025-01-09 11:45:59 +03:00
parent 615131b4d4
commit 9e86d76ad9

View file

@ -120,7 +120,7 @@ impl BootstrapCommand {
Self { failure_behavior: BehaviorOnFailure::DelayFail, ..self }
}
#[must_use]
#[allow(dead_code)]
pub fn fail_fast(self) -> Self {
Self { failure_behavior: BehaviorOnFailure::Exit, ..self }
}
@ -275,7 +275,7 @@ impl CommandOutput {
!self.is_success()
}
#[must_use]
#[allow(dead_code)]
pub fn status(&self) -> Option<ExitStatus> {
match self.status {
CommandStatus::Finished(status) => Some(status),