Skip to content

Commit 51db4d9

Browse files
authored
Merge pull request #1328 from stof/remove_dead_code
Remove non-existent option in our package-up utility
2 parents 0bafa7a + 647d3c0 commit 51db4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/package-up.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const { fileURLToPath } = require('url');
2121
* @returns {string|undefined} The path to the nearest package.json file or undefined if not found.
2222
*/
2323
module.exports = function({ cwd }) {
24-
return findUpSync('package.json', { cwd, type: 'file' });
24+
return findUpSync('package.json', { cwd });
2525
};
2626

2727
/**

0 commit comments

Comments
 (0)