fix(lint): parenthesize file handle callback

This commit is contained in:
imccyu committed 2026-09-09 18:21:17 +08:00
1 parent 60a3d0fbc2
commit d7ecdcf02c
1 file changed
+1 -1
@@ -716,7 +716,7 @@ export class MemoryVfs implements Vfs {
if (!access.writable) fail('EINVAL', 'ftruncate', target)
this.truncateFile(node, length)
},
chmod: mode => { this.chmodFile(node, mode) },
chmod: (mode) => { this.chmodFile(node, mode) },
stat: () => this.fileStats(node),
statBigInt: () => this.fileBigIntStats(node),
}