Skip to content

Commit

Permalink
fix:修复发布时不带参数报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Feb 19, 2016
1 parent f55ea07 commit 0758f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build/tasks/temp.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ module.exports = function ($, appConf, moduleConf, args) {
}
});
}
if (isPublish && typeof remoteName !== 'string') {
if (isPublish && (typeof remoteName !== 'string' || remoteName === 'local')) {
var prompt = [];
var deployObj = appConf.deploy;
var choices = [];
Expand Down

0 comments on commit 0758f1c

Please sign in to comment.