From 4e36df422c278e7ba1bc036263a1ae872bb9dee2 Mon Sep 17 00:00:00 2001 From: Even Stensberg Date: Fri, 23 Apr 2021 15:12:28 +0200 Subject: [PATCH 1/3] misc(destructuring): destructure args in import --- lighthouse-cli/bin.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lighthouse-cli/bin.js b/lighthouse-cli/bin.js index 2b03f9f0227c..933844164a5c 100644 --- a/lighthouse-cli/bin.js +++ b/lighthouse-cli/bin.js @@ -23,16 +23,16 @@ const path = require('path'); const commands = require('./commands/commands.js'); const printer = require('./printer.js'); -const getFlags = require('./cli-flags.js').getFlags; -const runLighthouse = require('./run.js').runLighthouse; -const generateConfig = require('../lighthouse-core/index.js').generateConfig; +const { getFlags } = require('./cli-flags.js'); +const { runLighthouse } = require('./run.js'); +const { generateConfig } = require('../lighthouse-core/index.js'); const log = require('lighthouse-logger'); const pkg = require('../package.json'); const Sentry = require('../lighthouse-core/lib/sentry.js'); const updateNotifier = require('update-notifier'); -const askPermission = require('./sentry-prompt.js').askPermission; +const { askPermission } = require('./sentry-prompt.js'); /** * @return {boolean} @@ -46,7 +46,7 @@ function isDev() { */ async function begin() { // Tell user if there's a newer version of LH. - updateNotifier({pkg}).notify(); + updateNotifier({ pkg }).notify(); const cliFlags = getFlags(); From e0fcf1590f75fee960626d7a4140c704456b17ac Mon Sep 17 00:00:00 2001 From: Even Stensberg Date: Sat, 24 Apr 2021 12:36:14 +0200 Subject: [PATCH 2/3] misc(linting): lint files --- lighthouse-cli/bin.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lighthouse-cli/bin.js b/lighthouse-cli/bin.js index 933844164a5c..7fd0c2b715d0 100644 --- a/lighthouse-cli/bin.js +++ b/lighthouse-cli/bin.js @@ -23,16 +23,16 @@ const path = require('path'); const commands = require('./commands/commands.js'); const printer = require('./printer.js'); -const { getFlags } = require('./cli-flags.js'); -const { runLighthouse } = require('./run.js'); -const { generateConfig } = require('../lighthouse-core/index.js'); +const {getFlags} = require('./cli-flags.js'); +const {runLighthouse} = require('./run.js'); +const {generateConfig} = require('../lighthouse-core/index.js'); const log = require('lighthouse-logger'); const pkg = require('../package.json'); const Sentry = require('../lighthouse-core/lib/sentry.js'); const updateNotifier = require('update-notifier'); -const { askPermission } = require('./sentry-prompt.js'); +const {askPermission} = require('./sentry-prompt.js'); /** * @return {boolean} @@ -46,7 +46,7 @@ function isDev() { */ async function begin() { // Tell user if there's a newer version of LH. - updateNotifier({ pkg }).notify(); + updateNotifier({pkg}).notify(); const cliFlags = getFlags(); From fb117ca9c873560ab114aff0d90d28fdd8b53b60 Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Wed, 12 May 2021 08:44:46 -0500 Subject: [PATCH 3/3] bump CI