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

Allow keepSpecialComments to be set as a string #153

Merged
merged 1 commit into from
Oct 24, 2013

Conversation

shama
Copy link
Contributor

@shama shama commented Oct 23, 2013

On grunt-contrib-cssmin, some users are setting keepSpecialComments as a string instead of a number. This causes undefined to be prepended to their file. See gruntjs/grunt-contrib-cssmin#40

This would make setting that option with '1' or '0' work the same as a number directly. Hopefully this will prevent the error from their common mistake.

Thanks!

@GoalSmashers
Copy link
Contributor

If it helps then why not having it. We'll push 1.1.5 with this change soon. Thanks @shama!

GoalSmashers pushed a commit that referenced this pull request Oct 24, 2013
Allow keepSpecialComments value of 0 and 1 to be set as a string.
@GoalSmashers GoalSmashers merged commit 6ccdba0 into clean-css:master Oct 24, 2013
@shama shama deleted the keepSpecialComments branch October 24, 2013 16:06
@shama
Copy link
Contributor Author

shama commented Oct 24, 2013

Thank you!

@GoalSmashers
Copy link
Contributor

1.1.5 is out - enjoy!

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

Successfully merging this pull request may close these issues.

2 participants