Skip to content

Commit dd81956

Browse files
committed
fix: lint
1 parent 72274d2 commit dd81956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/utils/secureRandom.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const getCryptoLibrary = () => {
55
/* eslint-disable global-require */
66
const nodeCrypto = require('crypto');
77
return nodeCrypto;
8-
}
8+
};
99

10-
export default getSecureRandomIndex = (min, max) => {
10+
export default function(min, max) {
1111
const crypto = getCryptoLibrary();
1212
const random = new Uint32Array(1);
1313
if (typeof crypto.getRandomValues === 'function') {

0 commit comments

Comments
 (0)