Comparing version 2.1.1 to 2.1.2
@@ -54,7 +54,9 @@ const path = require('path') | ||
const explorer = cosmiconfig(moduleName, cosmiconfigOptions) | ||
// if a specific path was specified, just load it and ignore default paths | ||
if (configFile) { | ||
cosmiconfigOptions.searchPlaces.push(configFile) | ||
return explorer.loadSync(configFile).config | ||
} | ||
const explorer = cosmiconfig(moduleName, cosmiconfigOptions) | ||
const searchedFor = explorer.searchSync(appDirectory) | ||
@@ -61,0 +63,0 @@ if (!searchedFor) { |
{ | ||
"name": "solhint", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Solidity Code Linter", | ||
@@ -5,0 +5,0 @@ "main": "solhint.js", |
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
747526
16914
1
73288