File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,6 @@ import lighthouse from 'lighthouse';
3
3
import log from 'lighthouse-logger' ;
4
4
import chromeLauncher from 'chrome-launcher' ;
5
5
6
- // we set DEBUG_COLORS = 'true' to prevent the logger from prefixing a date when running in tty
7
- // keep the old DEBUG_COLORS value so we can return it to the original value
8
- let debugColorsSet = false ;
9
- let debugColorsOriginalValue ;
10
- if ( 'DEBUG_COLORS' in process . env ) {
11
- debugColorsSet = true ;
12
- debugColorsOriginalValue = process . env . DEBUG_COLORS ;
13
- }
14
- process . env . DEBUG_COLORS = 'true' ;
15
-
16
- // we can return the original value after requiring the dependencies
17
- if ( debugColorsSet ) {
18
- process . env . DEBUG_COLORS = debugColorsOriginalValue ;
19
- } else {
20
- delete process . env . DEBUG_COLORS ;
21
- }
22
-
23
6
export const getBrowserPath = async ( ) => {
24
7
const browserFetcher = puppeteer . createBrowserFetcher ( ) ;
25
8
const revisions = await browserFetcher . localRevisions ( ) ;
You can’t perform that action at this time.
0 commit comments