Skip to content

Commit

Permalink
DashDeploy/FunctionDeploy: Minor UX improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
austencollins committed Jan 23, 2016
1 parent 16d9b6b commit 95d9977
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/actions/DashDeploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ module.exports = function(SPlugin, serverlessPath) {
// Show ASCII
SCli.asciiGreeting();

// Blank space for neatness in the CLI
console.log('');

// Show select input
return _this.cliPromptSelect('Select the assets you wish to deploy:', choices, true, 'Deploy')
.then(function(items) {
Expand All @@ -259,6 +262,9 @@ module.exports = function(SPlugin, serverlessPath) {
if(items[i].type === "endpoint") _this.evt.options.endpointPaths.push(items[i].value);
}
}

// Blank space for neatness in the CLI
console.log('');
})
}

Expand Down
1 change: 0 additions & 1 deletion lib/actions/FunctionDeploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ module.exports = function(SPlugin, serverlessPath) {
let _this = this;

// Status
console.log('');
SCli.log('Deploying functions in "'
+ _this.evt.options.stage
+ '" to the following regions: '
Expand Down

0 comments on commit 95d9977

Please sign in to comment.