Skip to content

Commit

Permalink
Remove color work-around (#81)
Browse files Browse the repository at this point in the history
Fixes #75
  • Loading branch information
moorereason authored and davecheney committed Sep 28, 2016
1 parent 6a32ed8 commit 2bb6516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func visit(url *url.URL) {
}
t2 = time.Now()

printf("\n%s%s\n", color.GreenString("Connected to "), color.CyanString("%s", addr))
printf("\n%s%s\n", color.GreenString("Connected to "), color.CyanString(addr))
},
WroteRequest: func(i httptrace.WroteRequestInfo) { t3 = time.Now() },
GotFirstResponseByte: func() { t4 = time.Now() },
Expand Down Expand Up @@ -257,7 +257,7 @@ func visit(url *url.URL) {
}
sort.Sort(headers(names))
for _, k := range names {
printf("%s %s\n", grayscale(14)(k+":"), color.CyanString("%s", strings.Join(resp.Header[k], ",")))
printf("%s %s\n", grayscale(14)(k+":"), color.CyanString(strings.Join(resp.Header[k], ",")))
}

if bodyMsg != "" {
Expand Down

0 comments on commit 2bb6516

Please sign in to comment.