Skip to content

Commit

Permalink
fixed wrong formats
Browse files Browse the repository at this point in the history
  • Loading branch information
DamnWidget committed Nov 30, 2014
1 parent 5aca695 commit 4bcb584
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cache/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func downloadAndExtract(ver, url, expected_sha1 string) error {

if resp.StatusCode != 200 {
if resp.StatusCode == 400 {
log.Fatal("Version %s can't be found!\n", ver)
log.Fatalf("Version %s can't be found!\n", ver)
}
return fmt.Errorf("%s", resp.Status)
}
Expand Down
2 changes: 1 addition & 1 deletion cache/sha1sum.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func generateManifest(ver string) error {
fileName := filepath.Join(versionPath, ".vengo-manifest")
file, err := os.OpenFile(fileName, os.O_CREATE|os.O_RDWR|os.O_TRUNC, 0644)
if err != nil {
return fmt.Errorf("while generating manifest:", err)
return fmt.Errorf("while generating manifest: %s", err)
}
file.WriteString(fmt.Sprintf("%s\n", strings.Join(manifest, "\n")))
file.Close()
Expand Down

0 comments on commit 4bcb584

Please sign in to comment.