Skip to content

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

@freddyroberts

Description

@freddyroberts

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions