File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ const version = require('../package.json').version;
9
9
const ora = require ( 'ora' ) ;
10
10
const chalk = require ( 'chalk' ) ;
11
11
const startTime = Date . now ( ) ;
12
- const ci = require ( 'ci-info' ) ;
13
12
14
13
// Revert https://github.com/tj/commander.js/pull/1409
15
14
program . storeOptionsAsProperties ( ) ;
@@ -76,8 +75,7 @@ const spinner = ora({
76
75
text : 'Finding files' ,
77
76
color : 'white' ,
78
77
interval : 100000 ,
79
- isEnabled : ! ci . isCI && program . spinner ,
80
- isSilent : ci . isCI
78
+ isEnabled : program . spinner === 'false' ? false : null
81
79
} ) ;
82
80
83
81
let exitCode = 0 ;
@@ -139,10 +137,8 @@ function dependencyFilter() {
139
137
const dir = path . dirname ( relPath ) + '/' ;
140
138
const file = path . basename ( relPath ) ;
141
139
142
- if ( program . spinner ) {
143
- spinner . text = chalk . grey ( dir ) + chalk . cyan ( file ) ;
144
- spinner . render ( ) ;
145
- }
140
+ spinner . text = chalk . grey ( dir ) + chalk . cyan ( file ) ;
141
+
146
142
prevFile = traversedFilePath ;
147
143
}
148
144
} ;
Original file line number Diff line number Diff line change 45
45
},
46
46
"dependencies" : {
47
47
"chalk" : " ^4.1.1" ,
48
- "ci-info" : " ^3.7.1" ,
49
48
"commander" : " ^7.2.0" ,
50
49
"commondir" : " ^1.0.1" ,
51
50
"debug" : " ^4.3.1" ,
You can’t perform that action at this time.
0 commit comments