Skip to content

Commit

Permalink
修改环境检查错误
Browse files Browse the repository at this point in the history
  • Loading branch information
fuchengwei committed Dec 2, 2020
1 parent b51f42d commit d29853b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions lib/commands/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,7 @@ const confirmDeploy = (message) => {

// 检查环境是否正确
const checkEnvCorrect = (config, env) => {
const keys = [
'name',
'script',
'host',
'port',
'username',
'distPath',
'webDir'
]
const keys = ['name', 'host', 'port', 'username', 'distPath', 'webDir']

if (config) {
keys.forEach((key) => {
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": "deploy-cli-service",
"version": "1.2.2",
"version": "1.2.3",
"description": "前端一键自动化部署脚手架服务",
"main": "lib/service.js",
"homepage": "https://github.com/fuchengwei/deploy-cli-service",
Expand Down

0 comments on commit d29853b

Please sign in to comment.