瀏覽代碼

chore: format code

GitHub Action 2 月之前
父節點
當前提交
83186b6fed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nix/scripts/canonicalize-node-modules.ts

+ 1 - 1
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