2
0
mirror of synced 2025-02-24 12:08:10 +00:00

Fixed call to defineProperty

This commit is contained in:
Steve Dakh 2017-04-06 13:39:21 -04:00 committed by GitHub
parent 42f4ff398c
commit 36a5b13a0c

View File

@ -36,7 +36,7 @@ function randomBytes(length) {
}; };
if (crypto._weakCrypto === true) { if (crypto._weakCrypto === true) {
utils.defineProperty(randomBytes, '_weakCrypto', true); defineProperty(randomBytes, '_weakCrypto', true);
} }
module.exports = randomBytes; module.exports = randomBytes;