Преглед изворни кода

fix(lint): parenthesize file handle callback

imccyu пре 1 недеља
родитељ
комит
d7ecdcf02c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/experimental/webworker-runtime/src/storage/memory.ts

+ 1 - 1
packages/experimental/webworker-runtime/src/storage/memory.ts

@@ -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),
     }