File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ pub fn run_collect(cmd: &[&str]) -> Result<(String, String)> {
109
109
. stdout ( Stdio :: piped ( ) )
110
110
. stderr ( Stdio :: piped ( ) )
111
111
. output ( )
112
- . with_context ( || format ! ( "failed to execute command: {:?}" , cmd ) ) ?;
112
+ . with_context ( || format ! ( "failed to execute command: {cmd :?}" ) ) ?;
113
113
114
114
if !output. status . success ( ) {
115
115
bail ! (
@@ -223,7 +223,7 @@ pub fn run(cmd: &[&str]) -> Result<()> {
223
223
. args ( & cmd[ 1 ..] )
224
224
. stdin ( Stdio :: piped ( ) )
225
225
. status ( )
226
- . with_context ( || format ! ( "failed to execute command: {:?}" , cmd ) ) ?;
226
+ . with_context ( || format ! ( "failed to execute command: {cmd :?}" ) ) ?;
227
227
228
228
if !status. success ( ) {
229
229
bail ! ( "Command {:?} exited with {:?}" , cmd, status. code( ) ) ;
You can’t perform that action at this time.
0 commit comments