diff --git a/lib/configuration.js b/lib/configuration.js index 168aac225..5b748318c 100644 --- a/lib/configuration.js +++ b/lib/configuration.js @@ -15,7 +15,7 @@ module.exports.getConfiguration = function () { if (!configPath) { return config } - const ext = path.extname(configPath); + const ext = path.extname(configPath) if (ext === '.js' || ext === '.cjs') { const jsConfiguration = require(configPath) if (typeof jsConfiguration === 'function') {