File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ func (p *githubPlugin) FileContent(subpath string) ([]byte, error) {
105
105
}
106
106
defer res .Body .Close ()
107
107
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."
109
109
if req .Header .Get ("Authorization" ) != "" {
110
110
authInfo = fmt .Sprintf (
111
- "The auth header `%s` was send with this request." ,
111
+ "The auth header `%s` was sent with this request." ,
112
112
getRedactedAuthHeader (req ),
113
113
)
114
114
}
@@ -181,7 +181,7 @@ func getRedactedAuthHeader(req *http.Request) string {
181
181
182
182
authType , token := parts [0 ], parts [1 ]
183
183
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
185
185
return authType + " " + strings .Repeat ("*" , len (token ))
186
186
}
187
187
You can’t perform that action at this time.
0 commit comments