aboutsummaryrefslogtreecommitdiff
path: root/src/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/system')
-rw-r--r--src/modules/system/index.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/system/index.ts b/src/modules/system/index.ts
index 52fc14f5..ee0d2600 100644
--- a/src/modules/system/index.ts
+++ b/src/modules/system/index.ts
@@ -72,7 +72,10 @@ export class SystemModule extends ModuleBase {
): string {
const { extensionCount = 1 } = options;
- const baseName = this.faker.word.words().toLowerCase().replace(/\W/g, '_');
+ const baseName = this.faker.word
+ .words()
+ .toLowerCase()
+ .replaceAll(/\W/g, '_');
const extensionsStr = this.faker.helpers
.multiple(() => this.fileExt(), { count: extensionCount })