add trailing newlines

This commit is contained in:
Mark McGranaghan 2013-10-06 08:50:23 -07:00
parent b0b6dbeb1b
commit afdf0cc2b4
66 changed files with 66 additions and 66 deletions

View File

@ -144,7 +144,7 @@ func resetUrlHashFile(codehash, code, sourcePath string) string {
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
urlkey := string(body)
data := fmt.Sprintf("%s\n%s", codehash, urlkey)
data := fmt.Sprintf("%s\n%s\n", codehash, urlkey)
ioutil.WriteFile(sourcePath, []byte(data), 0644)
return urlkey
}