Skip to content

Commit

Permalink
Minor linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peteraba committed Jun 14, 2020
1 parent abbeee8 commit 97d5825
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"sync"
)

const version = "0.4.2"
const version = "0.4.3"

func getFlags() (bool, int, bool, string, string, bool) {
var (
Expand Down Expand Up @@ -96,9 +96,9 @@ func getAllFilesizes(root string) (map[int64][]string, error) {
return nil
}

p, err := filepath.EvalSymlinks(path)
if err != nil {
panic(err)
p, err2 := filepath.EvalSymlinks(path)
if err2 != nil {
panic(err2)
}
if p != path {
return nil
Expand Down

0 comments on commit 97d5825

Please sign in to comment.