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

Add guard clause in Less Analyzer for Less imports of external files #74

Closed
wants to merge 1 commit into from

Conversation

furan917
Copy link

@furan917 furan917 commented Oct 6, 2023

Related to #73 - option 1, if you wish to see a more indepth writeup

The Less Analyzer class cannot handle Less files that import css via @import url() as the object they convert into mean the $node->path->value is a Link_Tree_Quoted object and not a string castable value, so we ignore them as outside content is may not be relevant to the semver check.

@furan917 furan917 changed the title Add guard clause in Less Analyzer for Less imports of files Add guard clause in Less Analyzer for Less imports of external files Oct 7, 2023
@furan917 furan917 closed this Oct 26, 2023
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