We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaac53e commit 3adf1ceCopy full SHA for 3adf1ce
internal/build/download.go
@@ -40,7 +40,7 @@ func MustLoadChecksums(file string) *ChecksumDB {
40
if err != nil {
41
log.Fatal("can't load checksum file: " + err.Error())
42
}
43
- return &ChecksumDB{strings.Split(string(content), "\n")}
+ return &ChecksumDB{strings.Split(strings.ReplaceAll(string(content), "\r\n", "\n"), "\n")}
44
45
46
// Verify checks whether the given file is valid according to the checksum database.
0 commit comments