Skip to content

Commit d19822e

Browse files
fix grammar
1 parent f4810ec commit d19822e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/plugin/github.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ func (p *githubPlugin) FileContent(subpath string) ([]byte, error) {
105105
}
106106
defer res.Body.Close()
107107
if res.StatusCode != http.StatusOK {
108-
authInfo := "No auth header was send with this request."
108+
authInfo := "No auth header was sent with this request."
109109
if req.Header.Get("Authorization") != "" {
110110
authInfo = fmt.Sprintf(
111-
"The auth header `%s` was send with this request.",
111+
"The auth header `%s` was sent with this request.",
112112
getRedactedAuthHeader(req),
113113
)
114114
}
@@ -181,7 +181,7 @@ func getRedactedAuthHeader(req *http.Request) string {
181181

182182
authType, token := parts[0], parts[1]
183183
if len(token) < 10 {
184-
// second word to short to reveal any, but show first word
184+
// second word too short to reveal any, but show first word
185185
return authType + " " + strings.Repeat("*", len(token))
186186
}
187187

0 commit comments

Comments
 (0)