Skip to content

Commit 1572217

Browse files
committed
constructor fix 2
1 parent ba1dd78 commit 1572217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NodeRSA.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = (function () {
3838
*/
3939
function NodeRSA(key, format, options) {
4040
if (!(this instanceof NodeRSA)) {
41-
return new NodeRSA(key, options);
41+
return new NodeRSA(key, format, options);
4242
}
4343

4444
if (_.isObject(format)) {

0 commit comments

Comments
 (0)