aboutsummaryrefslogtreecommitdiff
path: root/src/faker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/faker.ts')
-rw-r--r--src/faker.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/faker.ts b/src/faker.ts
index 7870d9c5..a5a6dbc2 100644
--- a/src/faker.ts
+++ b/src/faker.ts
@@ -62,6 +62,7 @@ export class Faker {
`Locale ${locale} is not supported. You might want to add the requested locale first to \`faker.locales\`.`
);
}
+
this._locale = locale;
}
@@ -75,6 +76,7 @@ export class Faker {
`Locale ${localeFallback} is not supported. You might want to add the requested locale first to \`faker.locales\`.`
);
}
+
this._localeFallback = localeFallback;
}