working on adding files to repo and making sure no duplicates
This commit is contained in:
		@@ -13,6 +13,9 @@ import (
 | 
			
		||||
var ConfigPath string
 | 
			
		||||
 | 
			
		||||
func validateFileType(path string, inputType string) error {
 | 
			
		||||
	if inputType == "wildcard" { // Can't stat wildcard type
 | 
			
		||||
		return nil
 | 
			
		||||
	}
 | 
			
		||||
	fullPath, err := filepath.Abs(path)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return fmt.Errorf("cannot stat file, invalid input? %s", err)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user