fix: first things first

This commit is contained in:
cha0s 2021-01-29 14:31:06 -06:00
parent abf457d28c
commit a30da1b99a

View File

@ -30,7 +30,7 @@ const Expression = ({
]; ];
if (j < ops.length - 1) { if (j < ops.length - 1) {
for (let k = j + 1; k < ops.length; ++k) { for (let k = j + 1; k < ops.length; ++k) {
patches.push({op: 'remove', path: join(path, 'ops', k.toString())}); patches.unshift({op: 'remove', path: join(path, 'ops', k.toString())});
} }
} }
else if (j === ops.length) { else if (j === ops.length) {