mirror of
https://github.com/golang/go
synced 2024-11-21 22:14:41 -07:00
Print out the coverage HTML file unconditionally
This commit is contained in:
parent
24e798e287
commit
77146765d7
@ -83,9 +83,8 @@ func htmlOutput(profile, outfile string) error {
|
||||
}
|
||||
|
||||
if outfile == "" {
|
||||
if !browser.Open("file://" + out.Name()) {
|
||||
fmt.Fprintf(os.Stderr, "HTML output written to %s\n", out.Name())
|
||||
}
|
||||
fmt.Fprintf(os.Stderr, "HTML output written to %s\n", out.Name())
|
||||
browser.Open("file://" + out.Name())
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user