fix: repo verify

This commit is contained in:
Hydraallen 2024-08-26 20:06:18 +08:00 committed by Boming Zhang
parent 36b75ad578
commit 296fdcbd12
GPG Key ID: D47306D7062CDA9D
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit b1b27f5d847684307740005f16fa133e67a2e6cc
Subproject commit 2f455dca9d28e39926e68b9b13eef39b0a9f67fc

View File

@ -39,7 +39,7 @@ func checkFileChecksum(rootDir, fileName, expectedChecksum string) (bool, string
if actualChecksum == expectedChecksum {
return true, ""//fmt.Sprintf("Checksum for %s passed!", filePath)
} else {
return false, fmt.Sprintf("Checksum for %s failed. Expected %s, but got %s. Please revert the changes!", filePath, expectedChecksum, actualChecksum)
return false, fmt.Sprintf("Checksum for %s failed. Expected %s, but got %s. Please revert your changes or contact the teaching team if you have a valid reason for adjusting them.", filePath, expectedChecksum, actualChecksum)
}
}