Skip to content

Commit d7d57a7

Browse files
committed
update to latest src
1 parent fbd52bb commit d7d57a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: visual-js/visual-wdio/src/SauceVisualService.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -292,13 +292,13 @@ export default class SauceVisualService implements Services.ServiceInstance {
292292
try {
293293
build = await this.apiClient.createBuild({
294294
name:
295-
this.options.buildName ||
296295
SAUCE_VISUAL_BUILD_NAME ||
296+
this.options.buildName ||
297297
'WebdriverIO Visual Testing',
298-
project: this.options.project || SAUCE_VISUAL_PROJECT || null,
299-
branch: this.options.branch || SAUCE_VISUAL_BRANCH || null,
298+
project: SAUCE_VISUAL_PROJECT || this.options.project || null,
299+
branch: SAUCE_VISUAL_BRANCH || this.options.branch || null,
300300
defaultBranch:
301-
this.options.defaultBranch || SAUCE_VISUAL_DEFAULT_BRANCH || null,
301+
SAUCE_VISUAL_DEFAULT_BRANCH || this.options.defaultBranch || null,
302302
});
303303
} catch (e: unknown) {
304304
const errorMessage = ensureError(e).message ?? 'Unknown error';

0 commit comments

Comments
 (0)