aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAndrey Azov <[email protected]>2022-05-05 10:39:23 +0100
committerGitHub <[email protected]>2022-05-05 11:39:23 +0200
commit3ea64ceeecfe4cac2f2e6708f12a4bee288d1cb6 (patch)
treec2e3162c310d088952c7e1c5224927acd07baaa3 /src/modules
parentb4cadfaae924218ae605c94f91e1206990d818d9 (diff)
downloadfaker-3ea64ceeecfe4cac2f2e6708f12a4bee288d1cb6.tar.xz
faker-3ea64ceeecfe4cac2f2e6708f12a4bee288d1cb6.zip
fix: typo in error message (#925)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/datatype/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/datatype/index.ts b/src/modules/datatype/index.ts
index a81a9681..df2cac87 100644
--- a/src/modules/datatype/index.ts
+++ b/src/modules/datatype/index.ts
@@ -49,7 +49,7 @@ export class Datatype {
}
if (max < min) {
- throw new FakerError(`Max ${max} should be larger then min ${min}.`);
+ throw new FakerError(`Max ${max} should be greater than min ${min}.`);
}
const randomNumber = Math.floor(