fix/nonascii_attributes #69
|  | @ -43,12 +43,12 @@ func main() { | |||
| 	showVersion := flag.Bool("version", false, "print current version") | ||||
| 	rootDir := flag.String("root", ".", "root dir for forbidden files check") | ||||
| 	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
 | ||||
| 
					
					zzjc123 marked this conversation as resolved
					
						
						
							Outdated
						
					
				 | ||||
| 	localList := flag.String("localList", "", "local file list for non-ascii file check") | ||||
| 	checkFileNameList := flag.String("checkFileNameList", "", "comma-separated list of files to check") | ||||
| 	checkFileSumList := flag.String("checkFileSumList", "", "comma-separated list of expected checksums") | ||||
| 	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 | ||||
| 	parseMultiValueFlag(&gitWhitelist, "whitelist", "[DEPRECATED] will be ignored") | ||||
| 	flag.Parse() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	
typo here
i mean it should be "remove localList" here, and "remove gitWhitelist“ down there