Skip to content

Commit

Permalink
Fixed dumb NPE.
Browse files Browse the repository at this point in the history
  • Loading branch information
MeltyPlayer committed Jan 4, 2025
1 parent df117ec commit c2d4f88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public IFilter<IAnnotatedFileBundle>? Filter {
public bool InFilter { get; private set; } = true;

public IEnumerable<IFileTreeNode> ChildNodes
=> this.subNodes_.Cast<IFileTreeNode>();
=> this.subNodes_?.Cast<IFileTreeNode>() ?? [];
}

public class FileBundleLeafNode(string label,
Expand Down

0 comments on commit c2d4f88

Please sign in to comment.