Skip to content

Commit

Permalink
Fixing cancels
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed Apr 24, 2019
1 parent ebdb0aa commit f5a0596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function run (config) {
// failure" and try to cancel any in-progress executions.
if (context.failFast) {
context.hasFastFailure = true
await Promise.all(inProgress.map(async exec => exec.cancel()))
inProgress.forEach(exec => exec.cancel())
}
} finally {
// Increment the execution count now that the test has completed.
Expand Down

0 comments on commit f5a0596

Please # to comment.