From 29a5dc6e7a525c17f464a35f7ba24bd31f979ee5 Mon Sep 17 00:00:00 2001 From: Connor Clark Date: Wed, 14 Jun 2023 14:24:12 -0700 Subject: [PATCH] cli(sentry): mention --enable-error-reporting flag in prompt --- cli/sentry-prompt.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/sentry-prompt.js b/cli/sentry-prompt.js index bd9f30aef00f..661a9c619809 100644 --- a/cli/sentry-prompt.js +++ b/cli/sentry-prompt.js @@ -10,10 +10,12 @@ import log from 'lighthouse-logger'; const MAXIMUM_WAIT_TIME = 20 * 1000; -// eslint-disable-next-line max-len +/* eslint-disable max-len */ const MESSAGE = `${log.reset}We're constantly trying to improve Lighthouse and its reliability.\n ` + `${log.reset}Learn more: https://github.com/GoogleChrome/lighthouse/blob/main/docs/error-reporting.md \n ` + - ` ${log.bold}May we anonymously report runtime exceptions to improve the tool over time?${log.reset} `; // eslint-disable-line max-len + ` ${log.bold}May we anonymously report runtime exceptions to improve the tool over time?${log.reset}\n ` + + `We'll remember your choice, but you can also use the flag --[no-]enable-error-reporting`; +/* eslint-enable max-len */ /** * @return {Promise}