Skip to content

Commit

Permalink
Update LongLongJob.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pyldin601 committed Feb 4, 2018
1 parent 69400b1 commit d0fadcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LongLongJob.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default (stateService: StateService) => class LongLongJob<In, Out> extend

let { cursor, state } = await this.getTaskState(initialState);

while(tasks[cursor] !== undefined) {
while (tasks[cursor] !== undefined) {
if (!this.isRunning) {
throw new Error('Job terminated');
}
Expand Down

0 comments on commit d0fadcc

Please sign in to comment.