mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-07 15:07:11 -04:00
Fix bug when only fork is called
If fork was called with no following operations, progress was undefined, this caused an infinite loop.
This commit is contained in:
parent
5f1870a6c8
commit
9404f1e0b8
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ var FlowControl = {
|
||||||
|
|
||||||
Promise.all(promises)
|
Promise.all(promises)
|
||||||
.then(function(values) {
|
.then(function(values) {
|
||||||
var progress;
|
var progress = 0;
|
||||||
|
|
||||||
var output = values.map(function(value) {
|
var output = values.map(function(value) {
|
||||||
progress = value.progress;
|
progress = value.progress;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue