Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 91920df

Browse files
committedFeb 19, 2025·
fix: lint
1 parent dd81956 commit 91920df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/shared/utils/secureRandom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const getCryptoLibrary = () => {
77
return nodeCrypto;
88
};
99

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

2323
const range = max - min + 1;
2424
return min + (random[0] % range);
25-
};
25+
}

0 commit comments

Comments
 (0)
Please sign in to comment.