fix: verfiy

This commit is contained in:
Hydraallen 2024-09-10 23:49:28 +08:00 committed by Boming Zhang
parent a551072e32
commit 102b0ef2a5
GPG Key ID: D47306D7062CDA9D

View File

@ -70,10 +70,6 @@ func VerifyFiles(rootDir string, checkFileNameList string, checkFileSumList stri
return nil
} else {
return fmt.Errorf("Some checksums failed. Please review the errors below:")
for _, msg := range errorMessages {
return fmt.Errorf(msg)
}
return fmt.Errorf("Please revert your changes or contact the teaching team if you have a valid reason for adjusting them.")
}
return nil
}