Skip to content

Commit

Permalink
update to latest src
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-kerem committed Apr 24, 2024
1 parent fbd52bb commit d7d57a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions visual-js/visual-wdio/src/SauceVisualService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,13 +292,13 @@ export default class SauceVisualService implements Services.ServiceInstance {
try {
build = await this.apiClient.createBuild({
name:
this.options.buildName ||
SAUCE_VISUAL_BUILD_NAME ||
this.options.buildName ||
'WebdriverIO Visual Testing',
project: this.options.project || SAUCE_VISUAL_PROJECT || null,
branch: this.options.branch || SAUCE_VISUAL_BRANCH || null,
project: SAUCE_VISUAL_PROJECT || this.options.project || null,
branch: SAUCE_VISUAL_BRANCH || this.options.branch || null,
defaultBranch:
this.options.defaultBranch || SAUCE_VISUAL_DEFAULT_BRANCH || null,
SAUCE_VISUAL_DEFAULT_BRANCH || this.options.defaultBranch || null,
});
} catch (e: unknown) {
const errorMessage = ensureError(e).message ?? 'Unknown error';
Expand Down

0 comments on commit d7d57a7

Please sign in to comment.