File tree 5 files changed +11
-9
lines changed
5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const log = {
42
42
} ;
43
43
44
44
var name$1 = "gacm" ;
45
- var version$1 = "1.2.4 " ;
45
+ var version$1 = "1.2.5 " ;
46
46
var description$1 = "gacm" ;
47
47
var scripts = {
48
48
build : "gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts" ,
@@ -202,7 +202,7 @@ const printMessages = (messages) => {
202
202
} ;
203
203
204
204
var name = "gacm" ;
205
- var version = "1.2.4 " ;
205
+ var version = "1.2.5 " ;
206
206
var description = "git account manage" ;
207
207
var keywords = [
208
208
"git" ,
@@ -239,8 +239,10 @@ var pkg = {
239
239
240
240
const useLs = async ( ) => {
241
241
const userList = await getFileUser ( registriesPath ) || { version : pkg . version , users : [ ] , registry : [ ] } ;
242
- const currectUser = await execCommand ( "git" , [ "config" , "user.name" ] ) ;
243
- const currectEmail = await execCommand ( "git" , [ "config" , "user.email" ] ) ;
242
+ const currectUser = await execCommand ( "git" , [ "config" , "user.name" ] ) . catch ( ( ) => {
243
+ } ) ;
244
+ const currectEmail = await execCommand ( "git" , [ "config" , "user.email" ] ) . catch ( ( ) => {
245
+ } ) ;
244
246
if ( userList . users . length === 0 && ( ! currectUser || ! currectEmail ) ) {
245
247
return log . info ( "no user" ) ;
246
248
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ var prompts__default = /*#__PURE__*/_interopDefaultLegacy(prompts);
17
17
var execa__default = /*#__PURE__*/ _interopDefaultLegacy ( execa ) ;
18
18
19
19
var name$1 = "gacm" ;
20
- var version$1 = "1.2.4 " ;
20
+ var version$1 = "1.2.5 " ;
21
21
var description$1 = "git account manage" ;
22
22
var keywords = [
23
23
"git" ,
@@ -82,7 +82,7 @@ const log = {
82
82
} ;
83
83
84
84
var name = "gacm" ;
85
- var version = "1.2.4 " ;
85
+ var version = "1.2.5 " ;
86
86
var description = "gacm" ;
87
87
var scripts = {
88
88
build : "gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gacm" ,
3
- "version" : " 1.2.4 " ,
3
+ "version" : " 1.2.5 " ,
4
4
"private" : false ,
5
5
"description" : " git account manage" ,
6
6
"keywords" : [
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gacm" ,
3
- "version" : " 1.2.4 " ,
3
+ "version" : " 1.2.5 " ,
4
4
"description" : " gacm" ,
5
5
"scripts" : {
6
6
"build" : " gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gacm" ,
3
- "version" : " 1.2.4 " ,
3
+ "version" : " 1.2.5 " ,
4
4
"private" : false ,
5
5
"description" : " git account manage" ,
6
6
"keywords" : [
You can’t perform that action at this time.
0 commit comments