Skip to content

Commit 8b5ae61

Browse files
committed
fix(config): fix fileconfig
1 parent fc22117 commit 8b5ae61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/configReader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ConfigReader.prototype._readConfigFile = function (file) {
8383
ConfigReader.prototype._getFileConfig = function (file) {
8484
if (file) {
8585
try {
86-
fs.statSync(file)
86+
fs.statSync(path.resolve(file + '.js'))
8787
} catch (ex) {
8888
debug('Configuration file not found')
8989
return { }

0 commit comments

Comments
 (0)