From 666ed41cdcb991fc222c9714773fcc2df4abc870 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sun, 24 Jan 2021 23:16:14 -0600 Subject: [PATCH] Fix typos --- src/dispatch/shared-dispatch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dispatch/shared-dispatch.js b/src/dispatch/shared-dispatch.js index 2597f311..d7e30a9d 100644 --- a/src/dispatch/shared-dispatch.js +++ b/src/dispatch/shared-dispatch.js @@ -128,8 +128,8 @@ class SharedDispatch { /** @TODO: remove this hack! this is just here so we don't try to send `util` to a worker */ // tw: upstream's logic is broken - // args is a 3 length list of [args, util, real block info] - // we only want to send args, the others will break thigns + // Args is actually a 3 length list of [args, util, real block info] + // We only want to send args. The others will throw errors when they try to be cloned if ((args.length > 0) && (typeof args[args.length - 1].func === 'function')) { args.pop(); args.pop();