We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
_get_custom_css
sass.CompileError
custom_scss
I have set Bulma settings to
BULMA_SETTINGS = { "custom_scss": [ "cant/find/this.scss" ] }
I expect to see ValueError: Unable to locate the SCSS file .... However I get an unhelpful sass.CompileError instead:
ValueError: Unable to locate the SCSS file ...
sass.CompileError: Error: File to import not found or unreadable: [].
It looks like this package has an helpful error that should be show, however
django-simple-bulma/django_simple_bulma/finders.py
Line 170 in 3e3eac8
when this step is run, the value is an empty list [], so the comparison to None is evaluated as false.
[]
None
Suggestion: Change expression to if not absolute_path (I can submit a PR with that if desired).
if not absolute_path
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have set Bulma settings to
I expect to see
ValueError: Unable to locate the SCSS file ...
. However I get an unhelpfulsass.CompileError
instead:It looks like this package has an helpful error that should be show, however
django-simple-bulma/django_simple_bulma/finders.py
Line 170 in 3e3eac8
when this step is run, the value is an empty list
[]
, so the comparison toNone
is evaluated as false.Suggestion: Change expression to
if not absolute_path
(I can submit a PR with that if desired).The text was updated successfully, but these errors were encountered: