mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
setup: fix Cannot destructure property 'includeSelf' from null or undefined value
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user