diff --git a/index.js b/index.js index 2a53d09..5c24bad 100644 --- a/index.js +++ b/index.js @@ -46,8 +46,7 @@ module.exports = function postcssrc (ctx, path, options) { ) } - result === undefined ? { config: {} } : result - result = result.config + result = result ? result.config : {} return result })