Skip to content

Commit 6e13561

Browse files
committed
1. change upload success tip 2. fix eslint-config-alloy version
1 parent 8619062 commit 6e13561

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

build/tarsUpload/uploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

src/tarsUpload/uploader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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){

templates/javascript/http/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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": {

templates/javascript/http/koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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": {

templates/javascript/http/native http/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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": {

templates/javascript/tars/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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": {

templates/typescript/http/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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"

templates/typescript/http/koa/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
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": {

templates/typescript/http/native http/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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": {},

0 commit comments

Comments
 (0)