Fix Return operation

This commit is contained in:
toby 2017-03-04 11:04:17 -05:00
parent 51d3c89133
commit 8d4876a055

View file

@ -201,7 +201,7 @@ var FlowControl = {
* @returns {Object} The updated state of the recipe. * @returns {Object} The updated state of the recipe.
*/ */
runReturn: function(state) { runReturn: function(state) {
state.progress = state.opList.length; state.progress = state.opList.length - 1;
return state; return state;
}, },