-
-
Notifications
You must be signed in to change notification settings - Fork 410
Fix Invalid type for len() #561 #562
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
base: master
Are you sure you want to change the base?
Conversation
This error is thrown because in some cases the len() argument is not an String and can lead to invalid type errors.
This looks like it's trying to fix the same bug that #560 is trying to fix. |
For some reason when I use a file type that is not purely html, I seem to get this kind of error:
Is this what this pull request is meant to fix? In my case it is a svelte file. But I suppose it does the same on any file type that has file types inside file types like vue. |
@kmoschcau, thank you so much for your answer. I have just installed your fork and I can confirm it fixes my issue. For info, I installed it with To make sure it works, I used it on a |
Can we get this merged? |
I'd love to see this merged |
Are any of you able to confirm if this can be merged? I think this PR would solve an issue for some users. |
I would suggest we merge #560 instead. That PR fixes the problem at the root cause instead of just changing the length check in one place. |
Hey, is this project abandoned? :-( |
The same thing happened to me, I solved it by replacing |
This error is thrown because in some cases the len() argument is not a String and can lead to invalid type errors.
This is most likely to be a temporary fix.