Skip to content

Commit cff8bc0

Browse files
committed
hide sonarquote check on Math.random() function
1 parent dfc2134 commit cff8bc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const getRandomNumber = (min, max) => {
22
const minNum = Math.ceil(min);
33
const maxNum = Math.floor(max);
4+
// NOSONAR
45
return Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum;
56
};
67

0 commit comments

Comments
 (0)