diff options
-rwxr-xr-x | upd8.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/upd8.js b/upd8.js index 7b66215e..b610fa8b 100755 --- a/upd8.js +++ b/upd8.js @@ -1015,10 +1015,9 @@ const replacerSpec = { let string = ''; let iString = 0; - const pushNode = (...args) => nodes.push(makeNode(...args)); const pushTextNode = () => { if (string.length) { - pushNode(iString, 'text', {string}); + nodes.push(makeNode(iString, 'text', {string})); string = ''; } }; |