Skip to content

Commit

Permalink
Merge pull request #91 from vizo/patch-1
Browse files Browse the repository at this point in the history
Added noop callback (Node 7.0 deprecation warning)
  • Loading branch information
andris9 authored Nov 13, 2016
2 parents cd763a2 + 3074c9b commit 5b4aac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pem.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function createPrivateKey(keyBitsize, options, callback) {

execOpenSSL(params, 'RSA PRIVATE KEY', function(error, key) {
if(clientKeyPassword) {
fs.unlink(clientKeyPassword);
fs.unlink(clientKeyPassword, function() {});
}
if (error) {
return callback(error);
Expand Down

0 comments on commit 5b4aac7

Please sign in to comment.