We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba2b3e7 + a771115 commit 7f64edbCopy full SHA for 7f64edb
bin/cli.js
@@ -75,7 +75,7 @@ const spinner = ora({
75
text: 'Finding files',
76
color: 'white',
77
interval: 100000,
78
- isEnabled: program.spinner
+ isEnabled: program.spinner === 'false' ? false : null
79
});
80
81
let exitCode = 0;
@@ -137,10 +137,8 @@ function dependencyFilter() {
137
const dir = path.dirname(relPath) + '/';
138
const file = path.basename(relPath);
139
140
- if (program.spinner) {
141
- spinner.text = chalk.grey(dir) + chalk.cyan(file);
142
- spinner.render();
143
- }
+ spinner.text = chalk.grey(dir) + chalk.cyan(file);
+
144
prevFile = traversedFilePath;
145
}
146
};
0 commit comments