repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec3e565
)
refactor: use simple quote in error string
author
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 30 May 2023 21:14:11 +0000
(23:14 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 30 May 2023 21:14:11 +0000
(23:14 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/worker/abstract-worker.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/worker/abstract-worker.ts
b/src/worker/abstract-worker.ts
index 176a5893caeeec7cb9d82095840b97498b3822b0..8a38b4e576464ecb88078540cc8604d7b3ad323f 100644
(file)
--- a/
src/worker/abstract-worker.ts
+++ b/
src/worker/abstract-worker.ts
@@
-266,7
+266,7
@@
export abstract class AbstractWorker<
name = name ?? DEFAULT_FUNCTION_NAME
const fn = this.taskFunctions.get(name)
if (fn == null) {
- throw new Error(`Task function
"${name}"
not found`)
+ throw new Error(`Task function
'${name}'
not found`)
}
return fn
}