Skip to content

Commit 5b7fc5e

Browse files
authored
chore: make the linter happy (#1537)
1 parent 05220de commit 5b7fc5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

worker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ func newWorker(o workerOpt) (*worker, error) {
9191
// ensure the filename or name are not already registered
9292
for _, w := range workers {
9393
if w.name == o.name {
94-
return w, fmt.Errorf("2 workers cannot have the same name: %q.", o.name)
94+
return w, fmt.Errorf("2 workers cannot have the same name: %q", o.name)
9595
}
9696
if w.fileName == absFileName {
97-
return w, fmt.Errorf("2 workers cannot have the same filename: %q.", absFileName)
97+
return w, fmt.Errorf("2 workers cannot have the same filename: %q", absFileName)
9898
}
9999
}
100100

0 commit comments

Comments
 (0)