Skip to content

Commit ba66e56

Browse files
committed
Change async whilst syntax
1 parent 4768967 commit ba66e56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/helpers/sync/syncSpecsLogs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ let printSpecsStatus = (bsConfig, buildDetails) => {
7474
stream = tableStream(tableConfig);
7575

7676
async.whilst(
77-
function() { // condition for loop
78-
return whileLoop;
77+
function test(callback) { // condition for loop
78+
callback(null, whileLoop);
7979
},
80-
function(callback) { // actual loop
80+
function iter(callback) { // actual loop
8181
whileProcess(callback)
8282
},
8383
function(err, result) { // when loop ends

0 commit comments

Comments
 (0)