fix compiler errors
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
615131b4d4
commit
9e86d76ad9
1 changed files with 2 additions and 2 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue