Skip to content

Commit

Permalink
trim options that may be read from file #7
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrjones committed Jul 21, 2013
1 parent 4ba928a commit 3785b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/lib/util.js
Expand Up @@ -83,8 +83,8 @@ exports.init = function (grunt) {
};

if (options.privateKey) {
connectionOptions.privateKey = options.privateKey;
connectionOptions.passphrase = options.passphrase;
connectionOptions.privateKey = options.privateKey.trim();
connectionOptions.passphrase = options.passphrase.trim();
}
else if (options.password) {
connectionOptions.password = options.password;
Expand Down

0 comments on commit 3785b0f

Please sign in to comment.