File tree Expand file tree Collapse file tree 11 files changed +11
-11
lines changed Expand file tree Collapse file tree 11 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class Uploader {
128128 if ( data . indexOf ( "EM_I_FAILED" ) > - 1 ) {
129129 console . error ( chalk_1 . default . red ( "upload to tars fail, please check your tars app / token / project,and retry" ) ) ;
130130 }
131- else if ( data . indexOf ( "EM_I_SUCCESS" ) > - 1 ) {
131+ else {
132132 console . log ( chalk_1 . default . green ( "upload success!" ) ) ;
133133 }
134134 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @tars/nodetools-cli" ,
3- "version" : " 0.0.8 " ,
3+ "version" : " 0.0.10 " ,
44 "description" : " tools cli for tars-nodejs" ,
55 "main" : " ./build/bin/nodetools.js" ,
66 "bin" : {
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default class Uploader{
123123 console . log ( "upload result:" , data )
124124 if ( data . indexOf ( "EM_I_FAILED" ) > - 1 ) {
125125 console . error ( chalk . red ( "upload to tars fail, please check your tars app / token / project,and retry" ) )
126- } else if ( data . indexOf ( "EM_I_SUCCESS" ) > - 1 ) {
126+ } else {
127127 console . log ( chalk . green ( "upload success!" ) )
128128 }
129129 } catch ( e ) {
Original file line number Diff line number Diff line change 1515 "babel-eslint" : " ^10.1.0" ,
1616 "cross-env" : " ^7.0.2" ,
1717 "eslint" : " ^7.3.1" ,
18- "eslint-config-alloy" : " ^ 3.7.3" ,
18+ "eslint-config-alloy" : " 3.7.3" ,
1919 "nodemon" : " ^1.17.5"
2020 },
2121 "dependencies" : {
Original file line number Diff line number Diff line change 1515 "babel-eslint" : " ^10.1.0" ,
1616 "cross-env" : " ^7.0.2" ,
1717 "eslint" : " ^7.3.1" ,
18- "eslint-config-alloy" : " ^ 3.7.3" ,
18+ "eslint-config-alloy" : " 3.7.3" ,
1919 "nodemon" : " ^1.17.5"
2020 },
2121 "dependencies" : {
Original file line number Diff line number Diff line change 1515 "babel-eslint" : " ^10.1.0" ,
1616 "cross-env" : " ^7.0.2" ,
1717 "eslint" : " ^7.3.1" ,
18- "eslint-config-alloy" : " ^ 3.7.3" ,
18+ "eslint-config-alloy" : " 3.7.3" ,
1919 "nodemon" : " ^1.17.5"
2020 },
2121 "dependencies" : {
Original file line number Diff line number Diff line change 1515 "babel-eslint" : " ^10.1.0" ,
1616 "cross-env" : " ^7.0.2" ,
1717 "eslint" : " ^7.3.1" ,
18- "eslint-config-alloy" : " ^ 3.7.3" ,
18+ "eslint-config-alloy" : " 3.7.3" ,
1919 "nodemon" : " ^1.17.5"
2020 },
2121 "dependencies" : {
Original file line number Diff line number Diff line change 2020 "babel-eslint" : " ^10.1.0" ,
2121 "cross-env" : " ^7.0.2" ,
2222 "eslint" : " ^7.3.1" ,
23- "eslint-config-alloy" : " ^ 3.7.3" ,
23+ "eslint-config-alloy" : " 3.7.3" ,
2424 "nodemon" : " ^1.17.5" ,
2525 "ts-node" : " ^8.4.1" ,
2626 "typescript" : " ^3.6.4"
Original file line number Diff line number Diff line change 2323 "babel-eslint" : " ^10.1.0" ,
2424 "cross-env" : " ^7.0.2" ,
2525 "eslint" : " ^7.3.1" ,
26- "eslint-config-alloy" : " ^ 3.7.3" ,
26+ "eslint-config-alloy" : " 3.7.3" ,
2727 "nodemon" : " ^1.17.5"
2828 },
2929 "dependencies" : {
Original file line number Diff line number Diff line change 2121 "babel-eslint" : " ^10.1.0" ,
2222 "cross-env" : " ^7.0.2" ,
2323 "eslint" : " ^7.3.1" ,
24- "eslint-config-alloy" : " ^ 3.7.3" ,
24+ "eslint-config-alloy" : " 3.7.3" ,
2525 "nodemon" : " ^1.17.5"
2626 },
2727 "dependencies" : {},
You can’t perform that action at this time.
0 commit comments