-
Notifications
You must be signed in to change notification settings - Fork 27
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
False positive with inline functions #597
Comments
The inline functions are evaluated always by their true branch statement - if you would negated the condition and switch true and false branch statement it should be fine. |
The other option is ofc to inject a pseudo space into the true branch statement |
Any way to disable a warning/error when inline function is used? |
Inline suppression should work (https://github.com/priv-kweihmann/oelint-adv#inline-suppression). |
Support for negative branch check was added with #611 and released with version 6.0.0 |
Seems like this case:
SRC_URI:append = "${@bb.utils.contains('EXTRA_IMAGE_FEATURES', 'my-feature', '', ' file://0001-my-patch.patch', d)}"
is reported as an
append
without space. Any ideas how to fix it properly?The text was updated successfully, but these errors were encountered: