[ci] format

This commit is contained in:
natemoo-re 2022-06-08 15:09:17 +00:00 committed by github-actions[bot]
parent c601ce59b5
commit 073bab5ec1

View file

@ -74,8 +74,8 @@ export default function createPlugin({
return; return;
} }
let pageUrls = pages.map((p) => { let pageUrls = pages.map((p) => {
const path = finalSiteUrl.pathname + p.pathname const path = finalSiteUrl.pathname + p.pathname;
return new URL(path, finalSiteUrl).href return new URL(path, finalSiteUrl).href;
}); });
if (filter) { if (filter) {
pageUrls = pageUrls.filter((page: string) => filter(page)); pageUrls = pageUrls.filter((page: string) => filter(page));