misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-09-21 19:40:56 +02:00
commit 654585ff1f
No known key found for this signature in database
GPG key ID: 82E42E7F3B34C97E
3 changed files with 12 additions and 15 deletions

View file

@ -98,7 +98,7 @@ func (c *CapletsModule) Paths() error {
colNames := []string{
"Path",
}
rows := [][]string{[]string{"."}}
rows := [][]string{}
for _, path := range caplets.LoadPaths {
rows = append(rows, []string{path})