Skip to content

Commit c6e809a

Browse files
committed
fix: spelling
1 parent 2088f61 commit c6e809a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hook/hook.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ func (e *ParseError) Error() string {
100100
return e.Err.Error()
101101
}
102102

103-
// ExtractCommaSeperatedValues will extract the values matching the key.
104-
func ExtractCommaSeperatedValues(source, prefix string) []string {
103+
// ExtractCommaSeparatedValues will extract the values matching the key.
104+
func ExtractCommaSeparatedValues(source, prefix string) []string {
105105
parts := strings.Split(source, ",")
106106
values := make([]string, 0)
107107
for _, part := range parts {
@@ -117,7 +117,7 @@ func ExtractSignatures(signature, prefix string) []string {
117117
// If there are multiple possible matches, let the comma seperated extractor
118118
// do it's work.
119119
if strings.Contains(signature, ",") {
120-
return ExtractCommaSeperatedValues(signature, prefix)
120+
return ExtractCommaSeparatedValues(signature, prefix)
121121
}
122122

123123
// There were no commas, so just trim the prefix (if it even exists) and

0 commit comments

Comments
 (0)