Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Jan 10, 2025
1 parent 4a296b8 commit 101facb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/datadog-instrumentations/src/cucumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ function wrapRun (pl, isLatestVersion) {
// ignore error
}

const isFirstAttempt = numAttempt++ === 0
const failedAttemptAsyncResource = numAttemptToAsyncResource.get(numAttempt)
const isFirstAttempt = numAttempt++ === 0

if (promises.hitBreakpointPromise) {
await promises.hitBreakpointPromise
Expand Down

0 comments on commit 101facb

Please sign in to comment.