Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed Jan 4, 2016
1 parent 04a76d5 commit 46552e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ JWT.sign = function(payload, secretOrPrivateKey, options, callback) {
return typeof options[key] !== 'undefined';
})[0];

console.warn('invalid "' + invalid_option + '" option for ' + (typeof payload) + ' payload');
if (invalid_option) {
console.warn('invalid "' + invalid_option + '" option for ' + (typeof payload) + ' payload');
}
}


Expand Down

0 comments on commit 46552e7

Please sign in to comment.