Showing 1 of 3 total issues
Function processPath
has 7 return statements (exceeds 4 allowed). Open
Open
func processPath(curPath, templateDir, output string, skipSuffixes, skipTrimSuffixes, trimSuffixes, ignoredFiles []string) error {
destination := filepath.Join(output, strings.Replace(curPath, templateDir, "", 1))
fi, err := os.Stat(curPath)
if err != nil {
return err