Skip to content

Commit 5dc24d0

Browse files
committed
format
1 parent 20c9d01 commit 5dc24d0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/lib/run-audit-with-url/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const runAuditWithUrl = async ({ path = '', url, thresholds, settings }) => {
1717
const { error, results } = await getResults();
1818

1919
if (error) {
20-
console.log("error line 22 run audit with url", error)
20+
console.log('error line 22 run audit with url', error);
2121
return { error };
2222
} else {
2323
const { summary, shortSummary, details, report, errors, runtimeError } =
@@ -36,7 +36,7 @@ const runAuditWithUrl = async ({ path = '', url, thresholds, settings }) => {
3636
};
3737
}
3838
} catch (error) {
39-
console.log("error line 41 run audit with url", error)
39+
console.log('error line 41 run audit with url', error);
4040
return { error };
4141
}
4242
};

src/lib/run-event/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ const runEvent = async ({
1717
} = {}) => {
1818
const isOnSuccess = event === 'onSuccess';
1919

20-
const deployUrl = 'https://68244ec43a5a6b46e855abe0--testing-secret-scanning-ui.netlify.app/';
20+
const deployUrl =
21+
'https://68244ec43a5a6b46e855abe0--testing-secret-scanning-ui.netlify.app/';
2122

2223
// If we don't have the deploy URL to test against, we can't run Lighthouse onSuccess.
2324
// If running locally, ensure you have a DEPLOY_URL set in your .env file

src/run-lighthouse.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import puppeteer from 'puppeteer';
1+
import puppeteer from 'puppeteer';
22
import lighthouse from 'lighthouse';
33
import log from 'lighthouse-logger';
44

@@ -19,7 +19,7 @@ export const runLighthouse = async (browserPath, url, settings) => {
1919
'--no-sandbox',
2020
'--disable-gpu',
2121
'--disable-dev-shm-usage',
22-
'--remote-debugging-port=0'
22+
'--remote-debugging-port=0',
2323
],
2424
logLevel,
2525
});

0 commit comments

Comments
 (0)