From 00be0c25766943e1aec0c5cfdfa97562a391d4a4 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 12 Jul 2019 12:27:33 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20don't=20assign=20`null`?= =?UTF-8?q?=20to=20`.buf`=20property=20in=20`Node`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.ts b/src/node.ts index feac2cc5..07c89271 100644 --- a/src/node.ts +++ b/src/node.ts @@ -25,7 +25,7 @@ export class Node extends EventEmitter { ctime = new Date(); // data: string = ''; - buf: Buffer = null; + buf: Buffer; perm = 0o666; // Permissions `chmod`, `fchmod`