feat: repo health check (#16) #17

Merged
张泊明518370910136 merged 37 commits from file_check into master 2024-09-11 20:09:27 +08:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit db2be886ab - Show all commits

@ -1 +1 @@
Subproject commit f9bed916b7b8af0175210837a67b24fab614508e Subproject commit 1c2392436643d53782eccd4e37958811e7ecd480

View File

@ -85,6 +85,7 @@ func VerifyFiles(rootDir string,checkFileNameList string, checkFileSumList strin
for _, msg := range errorMessages { for _, msg := range errorMessages {

Why so many returns?

Why so many returns?
return fmt.Errorf(msg) 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
} }