Skip to content

Commit

Permalink
forgot about a dropped function in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ogroppo committed Jul 11, 2024
1 parent 459fb6e commit ad5d2ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- randomDate
- randomMaxDate
- checkEnvVars is dropped
- randomPercentage is dropped

## 0.51.1

Expand Down
4 changes: 2 additions & 2 deletions src/random/randomInt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const randomInt = ({

export const randomPositiveInt = ({
min = 1,
max = 100,
max,
}: {
min?: number;
max?: number;
Expand All @@ -23,7 +23,7 @@ export const randomPositiveInt = ({
});

export const randomNegativeInt = ({
min = -100,
min,
max = -1,
}: {
min?: number;
Expand Down

0 comments on commit ad5d2ff

Please sign in to comment.