Skip to content

Commit 7c8bcf0

Browse files
committed
made changes more readable
1 parent 2434499 commit 7c8bcf0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/helpers/sync/syncSpecsLogs.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let specSummary = {
1313
"specs": [],
1414
"duration": null
1515
}
16-
let terminalWidth = (process.stdout.columns)*0.9;
16+
let terminalWidth = (process.stdout.columns) * 0.9;
1717

1818
let getOptions = (auth, build_id) => {
1919
return {
@@ -38,7 +38,7 @@ let getTableConfig = () => {
3838
2: {alignment: 'left', width: Math.floor(terminalWidth*0.8)}
3939
},
4040
columnDefault: {
41-
width: Math.floor(terminalWidth*0.2),
41+
width: Math.floor(terminalWidth * 0.2),
4242
},
4343
columnCount: 3,
4444
};
@@ -81,7 +81,7 @@ let printSpecsStatus = (bsConfig, buildDetails) => {
8181
whileProcess(callback)
8282
},
8383
function(err, result) { // when loop ends
84-
logger.info(`\n${"-".repeat(terminalWidth)}`)
84+
logger.info("\n" + "-".repeat(terminalWidth))
8585
specSummary.duration = endTime - startTime
8686
resolve(specSummary)
8787
}
@@ -139,7 +139,7 @@ let showSpecsStatus = (data) => {
139139

140140
let printInitialLog = () => {
141141
logger.info(`\n${Constants.syncCLI.LOGS.INIT_LOG}`)
142-
logger.info(`\n${"-".repeat(terminalWidth)}`)
142+
logger.info("\n" + "-".repeat(terminalWidth))
143143
n = Constants.syncCLI.INITIAL_DELAY_MULTIPLIER
144144
}
145145

0 commit comments

Comments
 (0)