From 102b0ef2a5f04915145c5d199800c0c51bf1665e Mon Sep 17 00:00:00 2001 From: Hydraallen Date: Tue, 10 Sep 2024 23:49:28 +0800 Subject: [PATCH] fix: verfiy --- pkg/healthcheck/verify.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/healthcheck/verify.go b/pkg/healthcheck/verify.go index e983170..debc531 100644 --- a/pkg/healthcheck/verify.go +++ b/pkg/healthcheck/verify.go @@ -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 }