diff --git a/lib/utils/package-up.js b/lib/utils/package-up.js index f69457ae..8ec19daf 100644 --- a/lib/utils/package-up.js +++ b/lib/utils/package-up.js @@ -21,7 +21,7 @@ const { fileURLToPath } = require('url'); * @returns {string|undefined} The path to the nearest package.json file or undefined if not found. */ module.exports = function({ cwd }) { - return findUpSync('package.json', { cwd, type: 'file' }); + return findUpSync('package.json', { cwd }); }; /**