fix(healthcheck/nonasciifile): typo
This commit is contained in:
		
							parent
							
								
									3fdad5f70e
								
							
						
					
					
						commit
						375c874734
					
				|  | @ -43,12 +43,12 @@ func main() { | ||||||
| 	showVersion := flag.Bool("version", false, "print current version") | 	showVersion := flag.Bool("version", false, "print current version") | ||||||
| 	rootDir := flag.String("root", ".", "root dir for forbidden files check") | 	rootDir := flag.String("root", ".", "root dir for forbidden files check") | ||||||
| 	repoSize := flag.Float64("repoSize", 2, "maximum size of the repo in MiB") | 	repoSize := flag.Float64("repoSize", 2, "maximum size of the repo in MiB") | ||||||
| 	// TODO: remove git whitelist, it is only for backward compatibility now
 | 	// TODO: remove localList, it is only for backward compatibility now
 | ||||||
| 	localList := flag.String("localList", "", "local file list for non-ascii file check") | 	localList := flag.String("localList", "", "local file list for non-ascii file check") | ||||||
| 	checkFileNameList := flag.String("checkFileNameList", "", "comma-separated list of files to check") | 	checkFileNameList := flag.String("checkFileNameList", "", "comma-separated list of files to check") | ||||||
| 	checkFileSumList := flag.String("checkFileSumList", "", "comma-separated list of expected checksums") | 	checkFileSumList := flag.String("checkFileSumList", "", "comma-separated list of expected checksums") | ||||||
| 	parseMultiValueFlag(&metaFile, "meta", "meta files to check") | 	parseMultiValueFlag(&metaFile, "meta", "meta files to check") | ||||||
| 	// TODO: remove git whitelist, it is only for backward compatibility now
 | 	// TODO: remove gitWhitelist, it is only for backward compatibility now
 | ||||||
| 	var gitWhitelist []string | 	var gitWhitelist []string | ||||||
| 	parseMultiValueFlag(&gitWhitelist, "whitelist", "[DEPRECATED] will be ignored") | 	parseMultiValueFlag(&gitWhitelist, "whitelist", "[DEPRECATED] will be ignored") | ||||||
| 	flag.Parse() | 	flag.Parse() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 zzjc1234
						zzjc1234