diff options
Diffstat (limited to 'weed/shell/command_fs_tree.go')
| -rw-r--r-- | weed/shell/command_fs_tree.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_fs_tree.go b/weed/shell/command_fs_tree.go index 019616627..805b17d2a 100644 --- a/weed/shell/command_fs_tree.go +++ b/weed/shell/command_fs_tree.go @@ -39,7 +39,7 @@ func (c *commandFsTree) Do(args []string, commandEnv *commandEnv, writer io.Writ if path == "/" { dir, name = "/", "" } else { - dir, name = path[0 : len(path)-1], "" + dir, name = path[0:len(path)-1], "" } } @@ -124,7 +124,7 @@ func (p *Prefix) getPrefix(level int, isLastChild bool) string { } if isLastChild { sb.WriteString("└──") - p.removeMarker(level); + p.removeMarker(level) } else { sb.WriteString("├──") } |
