fix: rm debug code

This commit is contained in:
zzjc1234 2024-08-31 11:43:55 +08:00 committed by Boming Zhang
parent 2e2445521f
commit ac583504e5
GPG Key ID: D47306D7062CDA9D

View File

@ -59,7 +59,6 @@ func VerifyFiles(rootDir string,checkFileNameList string, checkFileSumList strin
// Check if the number of files matches the number of checksums // Check if the number of files matches the number of checksums
if len(fileNames) != len(checkSums) { if len(fileNames) != len(checkSums) {
return fmt.Errorf("Error: The number of files and checksums do not match.") return fmt.Errorf("Error: The number of files and checksums do not match.")
os.Exit(1) os.Exit(1)
@ -80,7 +79,6 @@ func VerifyFiles(rootDir string,checkFileNameList string, checkFileSumList strin
errorMessages = append(errorMessages, message) errorMessages = append(errorMessages, message)
} }
} }
fmt.Printf("test")
if allPassed { if allPassed {
return nil // fmt.Errorf("Congratulations! All checksums passed!") return nil // fmt.Errorf("Congratulations! All checksums passed!")
} else { } else {