diff options
| author | Shinigami <[email protected]> | 2024-02-18 23:56:40 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-18 23:56:40 +0100 |
| commit | 52b8992cbf960e001336d59b83c610845ff35860 (patch) | |
| tree | c71db76f3f955a74be4cbcbaa56df77375cb4531 /scripts/apidoc/writer.ts | |
| parent | ec5609b18c79ea9fc8183ae78e917801e6a8a3f4 (diff) | |
| download | faker-52b8992cbf960e001336d59b83c610845ff35860.tar.xz faker-52b8992cbf960e001336d59b83c610845ff35860.zip | |
infra(unicorn): prefer-string-replace-all (#2653)
Diffstat (limited to 'scripts/apidoc/writer.ts')
| -rw-r--r-- | scripts/apidoc/writer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/apidoc/writer.ts b/scripts/apidoc/writer.ts index 67bf1d7a..b03cfe85 100644 --- a/scripts/apidoc/writer.ts +++ b/scripts/apidoc/writer.ts @@ -139,7 +139,7 @@ async function writeApiDocsModulePage( ` ) .join('')} - `.replace(/\n +/g, '\n'); + `.replaceAll(/\n +/g, '\n'); content = vitePressInFileOptions + (await formatMarkdown(content)); |
