This commit is contained in:
parent
09fc791c4f
commit
3301732248
4
file.go
4
file.go
|
@ -150,7 +150,7 @@ func (fp *FilePages) PageHistory(p string) ([]Revision, error) {
|
|||
|
||||
err = cmd.Start()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("while starting", err)
|
||||
return nil, fmt.Errorf("while starting: %s", err)
|
||||
}
|
||||
|
||||
buf := bufio.NewScanner(output)
|
||||
|
@ -180,7 +180,7 @@ func (fp *FilePages) PageHistory(p string) ([]Revision, error) {
|
|||
}
|
||||
|
||||
if err := cmd.Wait(); err != nil {
|
||||
return nil, fmt.Errorf("while waiting", err)
|
||||
return nil, fmt.Errorf("while waiting: %s", err)
|
||||
}
|
||||
|
||||
return revisions, nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user