Skip to content

Fix an exception that occurs when compressor style is enabled and color is included as filename - #1946

Open
namusyaka wants to merge 1 commit into
Compass:stablefrom
namusyaka:fix-sprite-name
Open

namusyaka wants to merge 1 commit into
Compass:stablefrom
namusyaka:fix-sprite-name

Conversation

@namusyaka

Copy link
Copy Markdown

My project has been including color name(e.g. black.png white.png) as sprite targets, but an error occurs because the color name is converted to color code(e.g. #000, #fff).
This PR should fix the problem.

Also, the error can be reproduced in the test added by this PR.

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.

1 participant