diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-02 21:13:11 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-02 21:13:11 +0300 |
commit | 7307003e57eebffbd063c097e2a19e57a79ff05e (patch) | |
tree | ac5c2734358cf0214c6d924d3a99242a3adcb88b | |
parent | 6d8d95ae3f99a471d22dfc1535917002794a9fa8 (diff) |
minor
-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') |