Skip to content

Commit

Permalink
Merge pull request #10558 from Expensify/stites-removeUnderscoresFrom…
Browse files Browse the repository at this point in the history
…Number

[No QA] Remove underscores to prevent webpack from breaking
  • Loading branch information
luacmartins authored Aug 25, 2022
2 parents 12bbf94 + 6520fdb commit ebd47a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CONST.js
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,8 @@ const CONST = {
INVITE: 'invite',
LEAVE_ROOM: 'leaveRoom',
},
MAX_64BIT_LEFT_HALF: 9_223_372_036,
MAX_64BIT_RIGHT_HALF: 854_775_807,
MAX_64BIT_LEFT_HALF: 9223372036,
MAX_64BIT_RIGHT_HALF: 854775807,
IOS_KEYBOARD_SPACE_OFFSET: -30,
};

Expand Down
2 changes: 1 addition & 1 deletion src/libs/NumberUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function rand64() {

// If the top is any number but the highest one, we can actually have any value for the rest
if (left !== CONST.MAX_64BIT_LEFT_HALF) {
right = Math.floor(Math.random() * 1_000_000_000);
right = Math.floor(Math.random() * 1000000000);
} else {
right = Math.floor(Math.random() * (CONST.MAX_64BIT_RIGHT_HALF + 1));
}
Expand Down

0 comments on commit ebd47a2

Please sign in to comment.