Fixed call to defineProperty
This commit is contained in:
parent
42f4ff398c
commit
36a5b13a0c
@ -36,7 +36,7 @@ function randomBytes(length) {
|
||||
};
|
||||
|
||||
if (crypto._weakCrypto === true) {
|
||||
utils.defineProperty(randomBytes, '_weakCrypto', true);
|
||||
defineProperty(randomBytes, '_weakCrypto', true);
|
||||
}
|
||||
|
||||
module.exports = randomBytes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user