Skip to content

Commit

Permalink
1. change upload success tip 2. fix eslint-config-alloy version
Browse files Browse the repository at this point in the history
  • Loading branch information
zouchengzhuo committed Mar 20, 2021
1 parent 8619062 commit 6e13561
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/tarsUpload/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Uploader {
if (data.indexOf("EM_I_FAILED") > -1) {
console.error(chalk_1.default.red("upload to tars fail, please check your tars app / token / project,and retry"));
}
else if (data.indexOf("EM_I_SUCCESS") > -1) {
else {
console.log(chalk_1.default.green("upload success!"));
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tars/nodetools-cli",
"version": "0.0.8",
"version": "0.0.10",
"description": "tools cli for tars-nodejs",
"main": "./build/bin/nodetools.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/tarsUpload/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class Uploader{
console.log("upload result:",data)
if(data.indexOf("EM_I_FAILED") > -1){
console.error(chalk.red("upload to tars fail, please check your tars app / token / project,and retry"))
} else if(data.indexOf("EM_I_SUCCESS") > -1 ){
} else {
console.log(chalk.green("upload success!"))
}
} catch(e){
Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/http/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/http/koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/http/native http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/tars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion templates/typescript/http/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5",
"ts-node": "^8.4.1",
"typescript": "^3.6.4"
Expand Down
2 changes: 1 addition & 1 deletion templates/typescript/http/koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion templates/typescript/http/native http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5"
},
"dependencies": {},
Expand Down
2 changes: 1 addition & 1 deletion templates/typescript/tars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.3.1",
"eslint-config-alloy": "^3.7.3",
"eslint-config-alloy": "3.7.3",
"nodemon": "^1.17.5"
},
"dependencies": {
Expand Down

0 comments on commit 6e13561

Please sign in to comment.