We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d0fb3b commit 647d3c0Copy full SHA for 647d3c0
lib/utils/package-up.js
@@ -21,7 +21,7 @@ const { fileURLToPath } = require('url');
21
* @returns {string|undefined} The path to the nearest package.json file or undefined if not found.
22
*/
23
module.exports = function({ cwd }) {
24
- return findUpSync('package.json', { cwd, type: 'file' });
+ return findUpSync('package.json', { cwd });
25
};
26
27
/**
0 commit comments