Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
  • Loading branch information
mschile and chrisbreiding authored Feb 14, 2022
1 parent 5062727 commit c92000b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/driver/src/cy/commands/screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ const takeScreenshot = (Cypress, state, screenshotConfig, options: TakeScreensho
/* eslint-disable no-console */
console.error('Failed to modify app dom:')
console.error(err)
/* eslint-disable no-console */
/* eslint-enable no-console */
}

return sendAsync('before:screenshot', getOptions(true))
Expand All @@ -371,7 +371,7 @@ const takeScreenshot = (Cypress, state, screenshotConfig, options: TakeScreensho
/* eslint-disable no-console */
console.error('Failed to modify app dom:')
console.error(err)
/* eslint-disable no-console */
/* eslint-enable no-console */
}

send('after:screenshot', getOptions(false))
Expand Down

0 comments on commit c92000b

Please sign in to comment.