Log the options object the same way as Browsertime, just add --verbose (#2588)

This commit is contained in:
Peter Hedenskog 2019-08-21 18:39:36 +02:00 committed by GitHub
parent 411af4fd2f
commit 155fabfcbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,9 @@ module.exports = {
packageInfo.dependencies.browsertime,
packageInfo.dependencies.webcoach
);
log.verbose('Config options: %:2j', options);
if (log.isEnabledFor(log.DEBUG)) {
log.debug('Running with options: %:2j', options);
}
let pluginNames = await loader.parsePluginNames(options);