From 7e69920e23f2fe78b9b7488b1b279cad7b73c2f9 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Fri, 22 Jan 2021 22:35:39 -0600 Subject: [PATCH] refactor: tagged -> item for consistency --- .../src/kernel/vatManager/supervisor-subprocess-xsnap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SwingSet/src/kernel/vatManager/supervisor-subprocess-xsnap.js b/packages/SwingSet/src/kernel/vatManager/supervisor-subprocess-xsnap.js index 860a03be09d3..9f6ec1f1244d 100644 --- a/packages/SwingSet/src/kernel/vatManager/supervisor-subprocess-xsnap.js +++ b/packages/SwingSet/src/kernel/vatManager/supervisor-subprocess-xsnap.js @@ -27,7 +27,7 @@ workerLog(`supervisor started`); */ function ManagerPort(issueCommand) { /** @type { (item: Tagged) => ArrayBuffer } */ - const encode = tagged => encoder.encode(JSON.stringify(tagged)).buffer; + const encode = item => encoder.encode(JSON.stringify(item)).buffer; /** @type { (msg: ArrayBuffer) => any } */ const decodeData = msg => JSON.parse(decoder.decode(msg));