Skip to content

Commit 4394329

Browse files
committed
fix build details
1 parent ac3d2d0 commit 4394329

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

packages/core/src/build.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ export async function fetchBuildStatus(client, build, log, retries = 0) {
1010
if (response && response.data) {
1111
if (response.data.buildStatus === 'completed') {
1212
log.info('Build successful\n');
13-
log.info('Build details:\n',
14-
'Build URL: ', response.data.buildURL, '\n',
15-
'Build Name: ', response.data.buildName, '\n',
16-
'Total Screenshots: ', response.data.totalScreenshots, '\n',
17-
'Approved: ', response.data.buildResults.approved, '\n',
18-
'Changes found: ', response.data.buildResults.changesFound, '\n',
19-
'Rejected:' , response.data.buildResults.rejected, '\n'
13+
log.info('Build details:\n Build URL: '+ response.data.buildURL +
14+
'\n Build Name: '+ response.data.buildName +
15+
'\n Total Screenshots: '+ response.data.totalScreenshots +
16+
'\n Approved: '+ response.data.buildResults.approved+
17+
'\n Changes found: '+ response.data.buildResults.changesFound+
18+
'\n Rejected:'+ response.data.buildResults.rejected+ '\n'
2019
);
2120

2221
if (response.data.screenshots && response.data.screenshots.length > 0) {

0 commit comments

Comments
 (0)