We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba1dd78 commit 1572217Copy full SHA for 1572217
src/NodeRSA.js
@@ -38,7 +38,7 @@ module.exports = (function () {
38
*/
39
function NodeRSA(key, format, options) {
40
if (!(this instanceof NodeRSA)) {
41
- return new NodeRSA(key, options);
+ return new NodeRSA(key, format, options);
42
}
43
44
if (_.isObject(format)) {
0 commit comments