Skip to content

Commit

Permalink
cmd/root2yoda: removes unreacheable statement
Browse files Browse the repository at this point in the history
found with revive (https://github.com/mgechev/revive) rule unreachable-code
  • Loading branch information
chavacava authored May 5, 2022
1 parent cf9adbb commit 020835d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/root2yoda/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ options:
f, err := groot.Open(fname)
if err != nil {
log.Fatalf("failed to open [%s]: %v\n", fname, err)
os.Exit(1)
}
defer f.Close()
for _, k := range uniq(f.Keys()) {
Expand Down

0 comments on commit 020835d

Please sign in to comment.