File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ remove_dir_all = "0.7"
3939base64 = " 0.13.0"
4040getrandom = { version = " 0.2" , features = [" std" ] }
4141thiserror = " 1.0.20"
42- git2 = " 0.13.12 "
42+ git2 = " 0.14.0 "
4343
4444[target .'cfg(unix)' .dependencies ]
4545nix = " 0.20.0"
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ pub enum CommandError {
109109#[ derive( Debug , thiserror:: Error ) ]
110110#[ cfg_attr( unix, error(
111111 "failed to kill the process with PID {pid}{}" ,
112- . errno. map( |e| format!( ": {}" , e. desc( ) ) ) . unwrap_or_else ( String :: new )
112+ . errno. map( |e| format!( ": {}" , e. desc( ) ) ) . unwrap_or_default ( )
113113) ) ]
114114#[ cfg_attr( not( unix) , error( "failed to kill the process with PID {pid}" ) ) ]
115115pub struct KillFailedError {
You can’t perform that action at this time.
0 commit comments