Skip to content

Request: silent setting is confusing #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
danielnixon opened this issue Dec 26, 2024 · 1 comment
Open

Request: silent setting is confusing #122

danielnixon opened this issue Dec 26, 2024 · 1 comment

Comments

@danielnixon
Copy link

Hey, great library, thanks.

I find this boolean setting confusing:

new TidyCleaner().config.setMany({
  silent: false,
});

What that does is actually make silent (i.e. don't log anything) true, not false. I suspect you probably had something more like debug: false in mind.

@bodil
Copy link

bodil commented Feb 8, 2025

Came here to report the same thing. It looks like 1be2e8e reversed the meaning of the flag, presumably by accident.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants