File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments