File tree 2 files changed +3
-13
lines changed
2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -1059,7 +1059,7 @@ Executed at: {executed_at}"#,
1059
1059
\n It was not possible to execute the command: {e:?}"
1060
1060
)
1061
1061
. unwrap ( ) ;
1062
- CommandOutput :: did_not_start ( stdout , stderr )
1062
+ CommandOutput :: did_not_start ( )
1063
1063
}
1064
1064
} ;
1065
1065
if !output. is_success ( ) {
Original file line number Diff line number Diff line change @@ -231,18 +231,8 @@ pub struct CommandOutput {
231
231
232
232
impl CommandOutput {
233
233
#[ must_use]
234
- pub fn did_not_start ( stdout : OutputMode , stderr : OutputMode ) -> Self {
235
- Self {
236
- status : CommandStatus :: DidNotStart ,
237
- stdout : match stdout {
238
- OutputMode :: Print => None ,
239
- OutputMode :: Capture => Some ( vec ! [ ] ) ,
240
- } ,
241
- stderr : match stderr {
242
- OutputMode :: Print => None ,
243
- OutputMode :: Capture => Some ( vec ! [ ] ) ,
244
- } ,
245
- }
234
+ pub fn did_not_start ( ) -> Self {
235
+ Self { status : CommandStatus :: DidNotStart , stdout : None , stderr : None }
246
236
}
247
237
248
238
#[ must_use]
You can’t perform that action at this time.
0 commit comments