Skip to content

Commit

Permalink
Merge pull request #19 from Antallagon/master
Browse files Browse the repository at this point in the history
Providing options.privateKey means no password is required
  • Loading branch information
lepture committed Dec 20, 2014
2 parents 640ec84 + 509b8e5 commit be1b78e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
npm-debug.log
*.iml
tmp
.idea
2 changes: 1 addition & 1 deletion tasks/scp.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = function(grunt) {
});
}

if (options.password) {
if (options.password || options.privateKey) {
execUploads();
} else {
inquirer.prompt([{
Expand Down

0 comments on commit be1b78e

Please sign in to comment.