Skip to content

Commit d6c39b0

Browse files
committed
chore: cleanup unneeded non null assertion
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent 7433448 commit d6c39b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/abstract-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ export abstract class AbstractWorker<
595595
workerError: {
596596
aborted: false,
597597
data,
598-
error: new Error(`Task function '${taskFunctionName!}' not found`),
598+
error: new Error(`Task function '${taskFunctionName}' not found`),
599599
name,
600600
},
601601
taskId,

0 commit comments

Comments
 (0)