feat: repo health check (#16) #17
|  | @ -59,7 +59,6 @@ func VerifyFiles(rootDir string,checkFileNameList string, checkFileSumList strin | |||
| 
 | ||||
| 	// Check if the number of files matches the number of checksums
 | ||||
| 
 | ||||
| 
 | ||||
| 	if len(fileNames) != len(checkSums) { | ||||
| 		return fmt.Errorf("Error: The number of files and checksums do not match.") | ||||
| 		os.Exit(1) | ||||
|  | ||||
|  | @ -80,7 +79,6 @@ func VerifyFiles(rootDir string,checkFileNameList string, checkFileSumList strin | |||
| 			errorMessages = append(errorMessages, message) | ||||
| 		} | ||||
| 	} | ||||
| 	fmt.Printf("test") | ||||
| 	if allPassed { | ||||
| 		return nil // fmt.Errorf("Congratulations! All checksums passed!")
 | ||||
| 
				
					
						张泊明518370910136
						commented  ditto ditto | ||||
| 	} else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	
remove it
I mean remove the
os.Exit(1), and also the one on line 55.