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

Fail on url(directory) #28

Closed
NielsHolt opened this issue Sep 27, 2016 · 1 comment
Closed

Fail on url(directory) #28

NielsHolt opened this issue Sep 27, 2016 · 1 comment
Labels

Comments

@NielsHolt
Copy link

If the url(..) is a directory the task fails
Some packages using artificial contents in css-classes to pass info to JavaScript
Eg. leaflet using
.leaflet-default-icon-path {
background-image: url(images/);
}
Proposal:
Try using grunt.file.isFile instead of grunt.file.exists to test for file existing

@mihhail-lapushkin
Copy link
Owner

Fixed in 1.7.0.

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

No branches or pull requests

2 participants