repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee8b1a0
)
fix: fix error type at public method arguments handling
author
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 15 Aug 2023 14:05:24 +0000
(16:05 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 15 Aug 2023 14:05:24 +0000
(16:05 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/pools/abstract-pool.ts
b/src/pools/abstract-pool.ts
index 5b2bd15012142fa7e075fa8ea4968041ccfdd63a..4c08671e5d99ab362f4b0263a423cfe42b4af5e5 100644
(file)
--- a/
src/pools/abstract-pool.ts
+++ b/
src/pools/abstract-pool.ts
@@
-670,7
+670,7
@@
export abstract class AbstractPool<
typeof name === 'string' &&
name.trim().length === 0
) {
- reject(new Error('name argument must not be an empty string'))
+ reject(new
Type
Error('name argument must not be an empty string'))
}
if (name != null && !this.taskFunctions.includes(name)) {
reject(