Skip to content

Commit

Permalink
Fix fork operation not setting ingredient values correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
j433866 committed Mar 7, 2019
1 parent 8148c1a commit 2b53806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/operations/Fork.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Fork extends Operation {
// Run recipe over each tranche
for (i = 0; i < inputs.length; i++) {
// Baseline ing values for each tranche so that registers are reset
subOpList.forEach((op, i) => {
recipe.opList.forEach((op, i) => {
op.ingValues = JSON.parse(JSON.stringify(ingValues[i]));
});

Expand Down

0 comments on commit 2b53806

Please sign in to comment.