Skip to content

Commit 84e49c2

Browse files
Uladzimir VyuhinUladzimir Vyuhin
authored andcommitted
Correction of usage errors.Wrap instead of errors.Wrapf
1 parent b21a375 commit 84e49c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ func findImportPathForName(name string, imports []*ast.ImportSpec, currentPackag
678678
}
679679
}
680680

681-
return "", errors.Wrapf(errUnknownSelector, name)
681+
return "", errors.Wrap(errUnknownSelector, name)
682682
}
683683

684684
func unquote(s string) string {

0 commit comments

Comments
 (0)