From 073bab5ec180ab7650f1ffdde4ea981677e413f4 Mon Sep 17 00:00:00 2001 From: natemoo-re Date: Wed, 8 Jun 2022 15:09:17 +0000 Subject: [PATCH] [ci] format --- packages/integrations/sitemap/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/integrations/sitemap/src/index.ts b/packages/integrations/sitemap/src/index.ts index e43b8f6d6..a94f6fba4 100644 --- a/packages/integrations/sitemap/src/index.ts +++ b/packages/integrations/sitemap/src/index.ts @@ -74,8 +74,8 @@ export default function createPlugin({ return; } let pageUrls = pages.map((p) => { - const path = finalSiteUrl.pathname + p.pathname - return new URL(path, finalSiteUrl).href + const path = finalSiteUrl.pathname + p.pathname; + return new URL(path, finalSiteUrl).href; }); if (filter) { pageUrls = pageUrls.filter((page: string) => filter(page));