mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-07 15:07:11 -04:00
Fix Return operation
This commit is contained in:
parent
51d3c89133
commit
8d4876a055
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue