From 7307003e57eebffbd063c097e2a19e57a79ff05e Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 2 Mar 2021 21:13:11 +0300 Subject: minor --- src/lib/workers-list.js | 1 + 1 file changed, 1 insertion(+) 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') -- cgit v1.2.3