From 17efaf9932373c12982bb57bc33f61a31c1fcbd3 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Sat, 11 Oct 2025 19:35:10 +0500 Subject: [PATCH] setup: fix `Cannot destructure property 'includeSelf' from null or undefined value` --- scripts/utils.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.mjs b/scripts/utils.mjs index 39ca719ad..64f958510 100644 --- a/scripts/utils.mjs +++ b/scripts/utils.mjs @@ -40,7 +40,7 @@ export async function findPackages(projects, root) { return pkgs; } -export async function findDependencies(packagePath, { includeSelf }) { +export async function findDependencies(packagePath, { includeSelf } = {}) { const key = path.resolve(packagePath); if (depMemo.has(key)) return Array.from(depMemo.get(key)); const pkg = readPackage(packagePath);