From 1c9a0e478739cd120c438ebf52bc3b8782d10d4d Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 2 Jun 2022 15:13:41 +0200 Subject: [PATCH] chore: replace all on node14 Signed-off-by: blam --- scripts/api-extractor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/api-extractor.ts b/scripts/api-extractor.ts index c3b77e4a32..d11a781407 100644 --- a/scripts/api-extractor.ts +++ b/scripts/api-extractor.ts @@ -943,7 +943,7 @@ async function buildDocs({ const filename: string = super._getFilenameForApiItem(apiItem); if (filename.includes('.html.')) { - return filename.replaceAll('.html.', '._html.'); + return filename.replace(/\.html\./g, '._html.'); } return filename;