Skip to content

Commit

Permalink
handle err
Browse files Browse the repository at this point in the history
  • Loading branch information
andreswebs committed Dec 11, 2023
1 parent bb95542 commit c6e0973
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ func ProcessFile(name string) (err error) {
}

for _, d := range newDirnames {
ProcessFile(d)
err = ProcessFile(d)
if err != nil {
return
}
}

return
Expand Down

0 comments on commit c6e0973

Please sign in to comment.