From 647d3c08590b8d9263939cc5055267f021b8f2f2 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 4 Sep 2024 15:26:15 +0200 Subject: [PATCH] Remove non-existent option in our package-up utility --- lib/utils/package-up.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }); }; /**