aboutsummaryrefslogtreecommitdiff
path: root/src/modules/git
diff options
context:
space:
mode:
authorLeyla Jähnig <[email protected]>2022-11-25 16:59:10 +0100
committerGitHub <[email protected]>2022-11-25 16:59:10 +0100
commit7d4d99f00bf1e29c14346bd6a9fab33c8e7d5743 (patch)
tree323754ca575c56ccf688539cfcca66d54c903602 /src/modules/git
parent0af0fff4a410d7531368c709327ba0798a47091a (diff)
downloadfaker-7d4d99f00bf1e29c14346bd6a9fab33c8e7d5743.tar.xz
faker-7d4d99f00bf1e29c14346bd6a9fab33c8e7d5743.zip
feat(number): move methods to new module (#1122)
Co-authored-by: ST-DDT <[email protected]> Co-authored-by: Eric Cheng <[email protected]> Co-authored-by: Leyla Jähnig <[email protected]> Co-authored-by: Shinigami92 <[email protected]>
Diffstat (limited to 'src/modules/git')
-rw-r--r--src/modules/git/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts
index 336da820..2ea65063 100644
--- a/src/modules/git/index.ts
+++ b/src/modules/git/index.ts
@@ -145,7 +145,7 @@ export class GitModule {
// Timezone offset
dateParts.push(
GIT_TIMEZONE_FORMAT.format(
- this.faker.datatype.number({ min: -11, max: 12 }) * 100
+ this.faker.number.int({ min: -11, max: 12 }) * 100
)
);