Skip to content

Commit

Permalink
fix: prevent spinner output while silent mode (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
isuvorov committed Jan 18, 2023
1 parent 8d8b84f commit ddad266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/size-limit/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = async process => {
config = await getConfig(plugins, process, args, pkg)

let calcAndShow = async () => {
let outputFunc = isJsonOutput ? null : createSpinner
let outputFunc = isJsonOutput || isSilentMode ? null : createSpinner
await calc(plugins, config, outputFunc)
debug.results(process, args, config)
reporter.results(plugins, config)
Expand Down

0 comments on commit ddad266

Please sign in to comment.