Skip to content

Commit

Permalink
Fix bad cache.db serialization with multiple entries
Browse files Browse the repository at this point in the history
Forgot the newline!
  • Loading branch information
ejv2 committed Aug 9, 2024
1 parent e4dbfcb commit 15257c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/cache-db.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (c *CacheDB) Save() error {
}

sts := strconv.FormatInt(ts, 10)
f.WriteString(url + " " + sts)
f.WriteString(url + " " + sts + "\n")
}

return nil
Expand Down

0 comments on commit 15257c7

Please sign in to comment.