Apply suggestions from code review

pull/16428/head^2
Elliott Johnson 2 months ago committed by GitHub
parent f919ee839e
commit 62a269ba93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -111,7 +111,6 @@ export function build_template(template, out = b.id('$$payload.out'), operator =
const flush = () => { const flush = () => {
if (operator === 'push') { if (operator === 'push') {
// For array push, we need to call push method instead of assignment
statements.push( statements.push(
b.stmt( b.stmt(
b.call( b.call(
@ -124,7 +123,6 @@ export function build_template(template, out = b.id('$$payload.out'), operator =
) )
); );
} else { } else {
// For other operators, use assignment
statements.push( statements.push(
b.stmt( b.stmt(
b.assignment( b.assignment(

Loading…
Cancel
Save