Fix broken syncLoop function
This commit is contained in:
+2
-2
@@ -754,11 +754,11 @@ module.exports = {
|
||||
if (shouldExit && exit) {
|
||||
// exit if we're done
|
||||
exit();
|
||||
} else {
|
||||
}
|
||||
|
||||
// stop the loop if we're done
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// if we're not finished
|
||||
if (index < iterations) {
|
||||
|
||||
Reference in New Issue
Block a user