Skip to content

Commit

Permalink
fix: πŸ› don't assign null to .symlink property in Node
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 12, 2019
1 parent 00be0c2 commit 9bfb6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.ts
Expand Up @@ -35,7 +35,7 @@ export class Node extends EventEmitter {
nlink = 1;

// Steps to another node, if this node is a symlink.
symlink: string[] = null;
symlink: string[];

constructor(ino: number, perm: number = 0o666) {
super();
Expand Down

0 comments on commit 9bfb6f5

Please sign in to comment.