diff --git a/bin/helpers/sync/syncSpecsLogs.js b/bin/helpers/sync/syncSpecsLogs.js index 1a0ad78f..6893ad49 100644 --- a/bin/helpers/sync/syncSpecsLogs.js +++ b/bin/helpers/sync/syncSpecsLogs.js @@ -74,10 +74,10 @@ let printSpecsStatus = (bsConfig, buildDetails) => { stream = tableStream(tableConfig); async.whilst( - function() { // condition for loop - return whileLoop; + function test(callback) { // condition for loop + callback(null, whileLoop); }, - function(callback) { // actual loop + function iter(callback) { // actual loop whileProcess(callback) }, function(err, result) { // when loop ends diff --git a/package.json b/package.json index bbba988d..13bd81e7 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "archiver": "^5.2.0", + "async": "^3.2.0", "chalk": "^4.1.0", "fs-extra": "^8.1.0", "glob": "^7.1.6",