File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ let specSummary = {
13
13
"specs" : [ ] ,
14
14
"duration" : null
15
15
}
16
-
16
+ let terminalWidth = ( process . stdout . columns ) * 0.9 ;
17
17
18
18
let getOptions = ( auth , build_id ) => {
19
19
return {
@@ -31,7 +31,6 @@ let getOptions = (auth, build_id) => {
31
31
}
32
32
33
33
let getTableConfig = ( ) => {
34
- let terminalWidth = ( process . stdout . columns ) * 0.9 ;
35
34
return {
36
35
border : getBorderConfig ( ) ,
37
36
columns : {
@@ -82,7 +81,7 @@ let printSpecsStatus = (bsConfig, buildDetails) => {
82
81
whileProcess ( callback )
83
82
} ,
84
83
function ( err , result ) { // when loop ends
85
- logger . info ( "\n--------------------------------------------------------------------------------" )
84
+ logger . info ( `\n ${ "-" . repeat ( terminalWidth ) } ` )
86
85
specSummary . duration = endTime - startTime
87
86
resolve ( specSummary )
88
87
}
@@ -140,7 +139,7 @@ let showSpecsStatus = (data) => {
140
139
141
140
let printInitialLog = ( ) => {
142
141
logger . info ( `\n${ Constants . syncCLI . LOGS . INIT_LOG } ` )
143
- logger . info ( "--------------------------------------------------------------------------------" )
142
+ logger . info ( `\n ${ "-" . repeat ( terminalWidth ) } ` )
144
143
n = Constants . syncCLI . INITIAL_DELAY_MULTIPLIER
145
144
}
146
145
You can’t perform that action at this time.
0 commit comments