The open source coding agent.
TypeScript
chore: format code
GitHub Action83186b6fedb2
diff --git a/nix/scripts/canonicalize-node-modules.ts b/nix/scripts/canonicalize-node-modules.tsindex 828a18fbc7e..faa6f63402e 100644--- a/nix/scripts/canonicalize-node-modules.ts+++ b/nix/scripts/canonicalize-node-modules.ts@@ -78,7 +78,7 @@ for (const [slug, entry] of Array.from(selections.entries()).sort((a, b) => a[0]const linkPath = join(parent, leaf)const desired = join(entry.dir, "node_modules", slug)const exists = await lstat(desired)- .then(info => info.isDirectory())+ .then((info) => info.isDirectory()).catch(() => false)if (!exists) {continue