Skip to content

Commit 160be4a

Browse files
committed
tidy up log messages
1 parent 79fc335 commit 160be4a

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

src/lib/get-settings/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const mergeSettingsSources = (inputSettings = {}) => {
2222

2323
const getSettings = (inputSettings, isUsingDeployUrl) => {
2424
const settings = mergeSettingsSources(inputSettings);
25-
// if (Object.keys(settings).length === 0) return;
2625

2726
// Set a base-level config based on the preset input value
2827
// (desktop is currently the only supported option)

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
import { formatResults } from '../../format.js';
22
import { runLighthouse, getBrowserPath } from '../../run-lighthouse.js';
33

4-
const runAuditWithUrl = async ({
5-
path = '',
6-
url,
7-
thresholds,
8-
settings = {},
9-
}) => {
4+
const runAuditWithUrl = async ({ path = '', url, thresholds, settings }) => {
105
try {
116
const browserPath = await getBrowserPath();
127

138
const getResults = async () => {
149
const fullPath = path ? `${url}/${path}` : url;
15-
console.log('Running lighthouse with settings', settings);
1610
const results = await runLighthouse(browserPath, fullPath, settings);
1711

1812
try {

src/lib/run-event/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ const runEvent = async ({
4949
try {
5050
const settings = getSettings(inputs?.settings, isOnSuccess);
5151

52-
console.log('Configured settings:', settings);
53-
5452
const allErrors = [];
5553
const data = [];
5654

0 commit comments

Comments
 (0)