diff options
Diffstat (limited to 'plugin/file/tree/print.go')
-rw-r--r-- | plugin/file/tree/print.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/file/tree/print.go b/plugin/file/tree/print.go index bd86ef690..b2df70e1b 100644 --- a/plugin/file/tree/print.go +++ b/plugin/file/tree/print.go @@ -29,9 +29,9 @@ func (n *Node) print() { } if nodesInCurrentLevel == 0 { fmt.Println() + nodesInCurrentLevel = nodesInNextLevel + nodesInNextLevel = 0 } - nodesInCurrentLevel = nodesInNextLevel - nodesInNextLevel = 0 } fmt.Println() } |