File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const log = {
4242} ;
4343
4444var name$1 = "gacm" ;
45- var version$1 = "1.2.4 " ;
45+ var version$1 = "1.2.5 " ;
4646var description$1 = "gacm" ;
4747var scripts = {
4848 build : "gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts" ,
@@ -202,7 +202,7 @@ const printMessages = (messages) => {
202202} ;
203203
204204var name = "gacm" ;
205- var version = "1.2.4 " ;
205+ var version = "1.2.5 " ;
206206var description = "git account manage" ;
207207var keywords = [
208208 "git" ,
@@ -239,8 +239,10 @@ var pkg = {
239239
240240const useLs = async ( ) => {
241241 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+ } ) ;
244246 if ( userList . users . length === 0 && ( ! currectUser || ! currectEmail ) ) {
245247 return log . info ( "no user" ) ;
246248 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ var prompts__default = /*#__PURE__*/_interopDefaultLegacy(prompts);
1717var execa__default = /*#__PURE__*/ _interopDefaultLegacy ( execa ) ;
1818
1919var name$1 = "gacm" ;
20- var version$1 = "1.2.4 " ;
20+ var version$1 = "1.2.5 " ;
2121var description$1 = "git account manage" ;
2222var keywords = [
2323 "git" ,
@@ -82,7 +82,7 @@ const log = {
8282} ;
8383
8484var name = "gacm" ;
85- var version = "1.2.4 " ;
85+ var version = "1.2.5 " ;
8686var description = "gacm" ;
8787var scripts = {
8888 build : "gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " gacm" ,
3- "version" : " 1.2.4 " ,
3+ "version" : " 1.2.5 " ,
44 "private" : false ,
55 "description" : " git account manage" ,
66 "keywords" : [
Original file line number Diff line number Diff line change 11{
22 "name" : " gacm" ,
3- "version" : " 1.2.4 " ,
3+ "version" : " 1.2.5 " ,
44 "description" : " gacm" ,
55 "scripts" : {
66 "build" : " gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " gacm" ,
3- "version" : " 1.2.4 " ,
3+ "version" : " 1.2.5 " ,
44 "private" : false ,
55 "description" : " git account manage" ,
66 "keywords" : [
You can’t perform that action at this time.
0 commit comments