Skip to content

Commit

Permalink
slightly more defensive
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Dec 15, 2024
1 parent e41cb5e commit fb9d9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/workers.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func fileProcessorWorker(input chan string, output chan Result) {
}

// update the ui if required
if Progress {
if Progress && bar != nil {
split := strings.Split(file.Name(), "/")
filename = split[len(split)-1]
// reset to 0 to start it all over again
Expand Down

0 comments on commit fb9d9ce

Please sign in to comment.