From b8523ec11ac32b5dc96e1d9cdd44df29188da36a Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 4 May 2022 17:38:33 +0300 Subject: [PATCH] Format code --- .github/workflows/scripts/format-lighthouse-score.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/format-lighthouse-score.js b/.github/workflows/scripts/format-lighthouse-score.js index 6ba64c25beec..29d90976f73d 100644 --- a/.github/workflows/scripts/format-lighthouse-score.js +++ b/.github/workflows/scripts/format-lighthouse-score.js @@ -15,7 +15,9 @@ const createMarkdownTableRow = ({ pwa, reportUrl, }) => { - return `| [${new URL(testUrl).pathname}](${url}) | ${performance} | ${accessibility} | ${bestPractices} | ${seo} | ${pwa} | [View report](${reportUrl})|`; + return `| [${ + new URL(url).pathname + }](${url}) | ${performance} | ${accessibility} | ${bestPractices} | ${seo} | ${pwa} | [View report](${reportUrl})|`; }; const createSingleRow = ({summary, testUrl, reportPublicUrl}) => {