From b396f041f93709379feb3883321ccba21da8a569 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 12 Jul 2019 08:23:40 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20don't=20set=20`#vol`=20or?= =?UTF-8?q?=20`#parent`=20of=20`link`=20to=20`null`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/volume.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/volume.ts b/src/volume.ts index 84cf83086..59973d6a4 100644 --- a/src/volume.ts +++ b/src/volume.ts @@ -625,8 +625,7 @@ export class Volume { const parent = link.parent; if (parent) { parent.deleteChild(link); - link.vol = null; - link.parent = null; + return true; } return false;