Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
vinvol committed Apr 7, 2015
1 parent 5a72168 commit ca0f96a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/lib/phantomas.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,14 @@ Phantomas.prototype.executePhantomas = function() {
options[ 'film-strip-dir' ] = this.imagePath + this.timestamp;
}

runs.push(callPhantomas(this.options.url, options));
runs.push( callPhantomas( this.options.url, options ) );
}

Promise.reduce( runs, function(total, run, index) {
runs[index] = run();
return runs[index];
Promise.reduce( runs, function( total, run, index ) {
runs[ index ] = run();
return runs[ index ];
}, []).then(function() {
Promise.settle(runs).then(resolve);
Promise.settle( runs ).then( resolve );
});
}.bind( this ) );
};
Expand Down

0 comments on commit ca0f96a

Please sign in to comment.