Skip to content

Commit

Permalink
chore(ci): rename option (#7875)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 authored Apr 28, 2022
1 parent 4b3f9a3 commit e0a30bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function exportToWebsite(options) {
/**
*
* @param {string[]} tests file paths
* @param {{debug?:boolean,recreate?:boolean,show?:boolean,filter?:boolean}} [options]
* @param {{debug?:boolean,recreate?:boolean,verbose?:boolean,filter?:boolean}} [options]
*/
function test(tests, options) {
options = options || {};
Expand All @@ -161,7 +161,7 @@ function test(tests, options) {
p.stdout.on('data', function (data) {
data = _.compact(data.toString().trim().split(/\n/));
data.forEach(line => {
if (clearLines > 0 && !options.show) {
if (clearLines > 0 && !options.verbose) {
process.stdout.write(ansiEscapes.cursorUp(1));
process.stdout.write(ansiEscapes.eraseDown);
}
Expand Down Expand Up @@ -321,7 +321,7 @@ program
.option('-a, --all', 'run all tests', false)
.option('-d, --debug', 'debug visual tests by overriding refs (golden images) in case of visual changes', false)
.option('-r, --recreate', 'recreate visual refs (golden images)', false)
.option('--show', 'show passing tests', false)
.option('-v, --verbose', 'log passing tests', false)
.option('-cc, --clear-cache', 'clear CLI test cache', false)
.action((options) => {
if (options.clearCache) {
Expand Down

0 comments on commit e0a30bb

Please sign in to comment.