@applitools/visual-grid-client
Advanced tools
Comparing version 5.0.1 to 5.0.2
{ | ||
"name": "@applitools/visual-grid-client", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/visual-grid-client.js", |
@@ -10,6 +10,6 @@ 'use strict'; | ||
function initConfig(configParams) { | ||
function initConfig({configParams, configPath} = {}) { | ||
let defaultConfig = {}; | ||
try { | ||
const result = explorer.searchSync(); | ||
const result = configPath ? explorer.loadSync(configPath) : explorer.searchSync(); | ||
if (result) { | ||
@@ -21,3 +21,3 @@ const {config, filepath} = result; | ||
} catch (ex) { | ||
logger.log('an error occurred while searching for configuration', ex); | ||
logger.log(`an error occurred while loading configuration. configPath=${configPath}\n`, ex); | ||
} | ||
@@ -24,0 +24,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66692