feat: repo health check (#16) #17
|  | @ -70,10 +70,6 @@ func VerifyFiles(rootDir string, checkFileNameList string, checkFileSumList stri | ||||||
| 		return nil | 		return nil | ||||||
| 	} else { | 	} else { | ||||||
| 		return fmt.Errorf("Some checksums failed. Please review the errors below:") | 		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 | 	return nil | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user