Remove ref to stdout because of pipe usage
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2019-02-25 20:17:54 +01:00
parent 3a7cf081f0
commit 636f23d834

View File

@ -106,7 +106,6 @@ func (fp *FilePages) PageHistory(p string) ([]Revision, error) {
page := strings.Replace(p, " ", "_", -1) page := strings.Replace(p, " ", "_", -1)
cmd := exec.Command("git", "log", "--pretty=oneline", "--no-decorate", "--color=never", page) cmd := exec.Command("git", "log", "--pretty=oneline", "--no-decorate", "--color=never", page)
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr
cmd.Stdout = os.Stdout
cmd.Dir = fp.dirname cmd.Dir = fp.dirname
output, err := cmd.StdoutPipe() output, err := cmd.StdoutPipe()
if err != nil { if err != nil {