Skip to content

Commit

Permalink
style: πŸ’„ run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jun 22, 2023
1 parent ac38b5d commit 273977d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/fsa-to-node/FsaNodeFs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,11 @@ export class FsaNodeFs extends FsaNodeCore implements FsCallbackApi, FsSynchrono
return openFile.fd;
};

public readonly writevSync: FsSynchronousApi['writevSync'] = (fd: number, buffers: ArrayBufferView[], position?: number | null): void => {
public readonly writevSync: FsSynchronousApi['writevSync'] = (
fd: number,
buffers: ArrayBufferView[],
position?: number | null,
): void => {
if (buffers.length === 0) return;
this.writeSync(fd, buffers[0], 0, buffers[0].byteLength, position);
for (let i = 1; i < buffers.length; i++) {
Expand Down

0 comments on commit 273977d

Please sign in to comment.