diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/workers-list.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/workers-list.js b/src/lib/workers-list.js index b27dbf3..67df2f8 100644 --- a/src/lib/workers-list.js +++ b/src/lib/workers-list.js @@ -67,6 +67,7 @@ class WorkersList { */ poke(targets) { this.logger.debug('poke:', targets) + if (!Array.isArray(targets)) throw new Error('targets must be Array') |