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.
2 parents 0bafa7a + 647d3c0 commit 51db4d9Copy full SHA for 51db4d9
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