Fix Return operation
This commit is contained in:
parent
51d3c89133
commit
8d4876a055
@ -201,7 +201,7 @@ var FlowControl = {
|
||||
* @returns {Object} The updated state of the recipe.
|
||||
*/
|
||||
runReturn: function(state) {
|
||||
state.progress = state.opList.length;
|
||||
state.progress = state.opList.length - 1;
|
||||
return state;
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user