From 613c7d85456be7dae0088d7152a903881c1cb389 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 21 Feb 2021 20:15:45 +0000 Subject: [PATCH] lint: ExportTxt.js --- src/node/utils/ExportTxt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/ExportTxt.js b/src/node/utils/ExportTxt.js index ead3637ff..0ff7ded83 100644 --- a/src/node/utils/ExportTxt.js +++ b/src/node/utils/ExportTxt.js @@ -202,7 +202,7 @@ const getTXTFromAtext = (pad, atext, authorColors) => { if (line.listTypeName !== 'number') { // We're no longer in an OL so we can reset counting - for (const key in listNumbers) { + for (const key of Object.keys(listNumbers)) { delete listNumbers[key]; } }