Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sontrinh16 committed Dec 15, 2023
1 parent 55db3a0 commit b523182
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func TreeFn(treeName string) (TreeConstructorFn, error) {
v, ok := treeFns.Load(treeName)
if !ok {
return nil, fmt.Errorf("%s not registered yet", treeName)

}

Check warning on line 46 in tree.go

View check run for this annotation

Codecov / codecov/patch

tree.go#L45-L46

Added lines #L45 - L46 were not covered by tests
treeFn, ok = v.(TreeConstructorFn)
if !ok {
Expand Down

0 comments on commit b523182

Please sign in to comment.