Skip to content

Commit

Permalink
making null safe
Browse files Browse the repository at this point in the history
  • Loading branch information
rishigupta1599 committed Nov 3, 2023
1 parent 08a49fd commit 1bb7101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webdriver-utils/src/providers/automateProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class AutomateProvider extends GenericProvider {
try {
await this.browserstackExecutor('percyScreenshot', {
name,
percyScreenshotUrl: this.buildInfo.url,
percyScreenshotUrl: this.buildInfo?.url,
status: error ? 'failure' : 'success',
statusMessage: error ? `${error}` : '',
state: 'end'
Expand Down

0 comments on commit 1bb7101

Please sign in to comment.