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"
39
39
base64 = " 0.13.0"
40
40
getrandom = { version = " 0.2" , features = [" std" ] }
41
41
thiserror = " 1.0.20"
42
- git2 = " 0.13.12 "
42
+ git2 = " 0.14.0 "
43
43
44
44
[target .'cfg(unix)' .dependencies ]
45
45
nix = " 0.20.0"
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ pub enum CommandError {
109
109
#[ derive( Debug , thiserror:: Error ) ]
110
110
#[ cfg_attr( unix, error(
111
111
"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 ( )
113
113
) ) ]
114
114
#[ cfg_attr( not( unix) , error( "failed to kill the process with PID {pid}" ) ) ]
115
115
pub struct KillFailedError {
You can’t perform that action at this time.
0 commit comments