From f8c8932866b7b31027c0c2729e2855a135dd1845 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Mon, 18 Nov 2019 09:31:49 -0700 Subject: [PATCH] fix: spelling --- internal/hook/hook.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/hook/hook.go b/internal/hook/hook.go index 3a52cb2..65b9c7b 100644 --- a/internal/hook/hook.go +++ b/internal/hook/hook.go @@ -100,8 +100,8 @@ func (e *ParseError) Error() string { return e.Err.Error() } -// ExtractCommaSeperatedValues will extract the values matching the key. -func ExtractCommaSeperatedValues(source, prefix string) []string { +// ExtractCommaSeparatedValues will extract the values matching the key. +func ExtractCommaSeparatedValues(source, prefix string) []string { parts := strings.Split(source, ",") values := make([]string, 0) for _, part := range parts { @@ -117,7 +117,7 @@ func ExtractSignatures(signature, prefix string) []string { // If there are multiple possible matches, let the comma seperated extractor // do it's work. if strings.Contains(signature, ",") { - return ExtractCommaSeperatedValues(signature, prefix) + return ExtractCommaSeparatedValues(signature, prefix) } // There were no commas, so just trim the prefix (if it even exists) and