File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ const which = require('which')
3
3
let gitPath
4
4
try {
5
5
gitPath = which . sync ( 'git' )
6
- } catch ( e ) { }
6
+ } catch {
7
+ // ignore errors
8
+ }
7
9
8
10
module . exports = ( opts = { } ) => {
9
11
if ( opts . git ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @npmcli/git" ,
3
- "version" : " 3.0.1 " ,
3
+ "version" : " 3.0.2 " ,
4
4
"main" : " lib/index.js" ,
5
5
"files" : [
6
6
" bin/" ,
31
31
},
32
32
"devDependencies" : {
33
33
"@npmcli/eslint-config" : " ^3.0.1" ,
34
- "@npmcli/template-oss" : " 3.2.2" ,
34
+ "@npmcli/template-oss" : " 3.5.0" ,
35
+ "npm-package-arg" : " ^9.1.0" ,
36
+ "rimraf" : " ^3.0.2" ,
35
37
"slash" : " ^3.0.0" ,
36
38
"tap" : " ^16.0.1"
37
39
},
52
54
"templateOSS" : {
53
55
"//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
54
56
"windowsCI" : false ,
55
- "version" : " 3.2.2 "
57
+ "version" : " 3.5.0 "
56
58
}
57
59
}
Original file line number Diff line number Diff line change 929
929
}
930
930
},
931
931
"node_modules/@npmcli/git" : {
932
- "version" : " 3.0.1 " ,
933
- "resolved" : " https://registry.npmjs.org/@npmcli/git/-/git-3.0.1 .tgz" ,
934
- "integrity" : " sha512-UU85F/T+F1oVn3IsB/L6k9zXIMpXBuUBE25QDH0SsURwT6IOBqkC7M16uqo2vVZIyji3X1K4XH9luip7YekH1A ==" ,
932
+ "version" : " 3.0.2 " ,
933
+ "resolved" : " https://registry.npmjs.org/@npmcli/git/-/git-3.0.2 .tgz" ,
934
+ "integrity" : " sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w ==" ,
935
935
"inBundle" : true ,
936
936
"dependencies" : {
937
937
"@npmcli/promise-spawn" : " ^3.0.0" ,
You can’t perform that action at this time.
0 commit comments