Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Commit

Permalink
go-tour: fix a couple of bad format strings
Browse files Browse the repository at this point in the history
LGTM=dsymonds
R=dsymonds
CC=golang-codereviews
https://codereview.appspot.com/80980044
  • Loading branch information
adg committed Mar 27, 2014
1 parent e0707dc commit b8dda42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gotour/tour.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,11 @@ func initScript(root string) error {
for _, file := range files {
f, err := ioutil.ReadFile(filepath.Join(root, file))
if err != nil {
return fmt.Errorf("couldn't open %v", file, err)
return fmt.Errorf("couldn't open %v: %v", file, err)
}
_, err = b.Write(f)
if err != nil {
return fmt.Errorf("error concatenating %v", file, err)
return fmt.Errorf("error concatenating %v: %v", file, err)
}
}

Expand Down

0 comments on commit b8dda42

Please sign in to comment.