Skip to content

Commit

Permalink
fix: πŸ› don't set #vol or #parent of link to null
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 11, 2019
1 parent f8bb0f8 commit b396f04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b396f04

Please sign in to comment.