Skip to content
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

@util hr - should be able to pass 0-4 parameters without any warnings #41

Open
freddyroberts opened this issue May 12, 2022 · 0 comments

Comments

@freddyroberts
Copy link

freddyroberts commented May 12, 2022

Hi - Thanks for the helpful plugin!

I believe i've discovered a bug with @util hr;

As per the documentation, 4 parameters can be passed to the hr utility. This works as expected as far as functionality.

The Issue:
I'm currently getting a warning in the build output when I pass only one param or when I pass more than 2 params.

It seems that the issue lies in the walkAtRules function in index.js

Solution: Regarding @util hr;, based on documentation, you should be able to pass 0-4 parameters with out any warnings.

@freddyroberts freddyroberts changed the title @util hr - should be able to pass 0-4 parameters with out any console warnings @util hr - should be able to pass 0-4 parameters without any console warnings May 13, 2022
@freddyroberts freddyroberts changed the title @util hr - should be able to pass 0-4 parameters without any console warnings @util hr - should be able to pass 0-4 parameters without any warnings May 13, 2022
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

1 participant