@@ -354,12 +354,10 @@ exports.getSupportFiles = (bsConfig, isA11y) => {
354
354
let userSupportFile = null ;
355
355
try {
356
356
const completeCypressConfigFile = readCypressConfigFile ( bsConfig )
357
- console . log ( `Complete Cypress config file: ${ JSON . stringify ( completeCypressConfigFile ) } ` ) ;
358
357
let cypressConfigFile = { } ;
359
358
if ( ! utils . isUndefined ( completeCypressConfigFile ) ) {
360
359
cypressConfigFile = ! utils . isUndefined ( completeCypressConfigFile . default ) ? completeCypressConfigFile . default : completeCypressConfigFile
361
360
}
362
- console . log ( `Cypress config file: ${ JSON . stringify ( cypressConfigFile ) } ` ) ;
363
361
userSupportFile = cypressConfigFile . e2e ?. supportFile !== null ? cypressConfigFile . e2e ?. supportFile : cypressConfigFile . component ?. supportFile !== null ? cypressConfigFile . component ?. supportFile : cypressConfigFile . supportFile ;
364
362
if ( userSupportFile == false && extension ) {
365
363
const supportFolderPath = path . join ( process . cwd ( ) , 'cypress' , 'support' ) ;
@@ -386,16 +384,13 @@ exports.getSupportFiles = (bsConfig, isA11y) => {
386
384
supportFile = process . env [ envVar ] ;
387
385
} else {
388
386
/* Single file / glob pattern */
389
- console . log ( `Using user defined support file: ${ userSupportFile } ` ) ;
390
387
supportFile = userSupportFile ;
391
388
}
392
389
} else if ( Array . isArray ( userSupportFile ) ) {
393
- console . log ( `Using user defined support files123: ${ userSupportFile } ` ) ;
394
390
supportFile = userSupportFile [ 0 ] ;
395
391
}
396
392
} catch ( err ) { }
397
393
if ( supportFile && supportFile [ 0 ] != '/' ) supportFile = '/' + supportFile ;
398
- console . log ( `Final support file: ${ supportFile } ` ) ;
399
394
return {
400
395
supportFile,
401
396
cleanupParams : Object . keys ( cleanupParams ) . length ? cleanupParams : null
0 commit comments