Closed karreiro closed 1 year ago
During my review and testing of the https://github.com/Shopify/theme-liquid-docs/pull/190 PR, I noticed that Theme Check was inaccurately flagging the error: UndefinedObject: Undefined object 'section' offense. This issue was caused by a minor change made in https://github.com/Shopify/theme-check/pull/725.
error: UndefinedObject: Undefined object 'section'
To resolve this problem, I changed the SourceIndex to no longer ignore all theme_app_extension_labels.
SourceIndex
theme_app_extension_labels
As https://github.com/Shopify/theme-check/pull/725 has not been released, I'm not introducing a changelog for this.
./bin/theme-check <theme_path>
What are you trying to accomplish?
During my review and testing of the https://github.com/Shopify/theme-liquid-docs/pull/190 PR, I noticed that Theme Check was inaccurately flagging the
error: UndefinedObject: Undefined object 'section'
offense. This issue was caused by a minor change made in https://github.com/Shopify/theme-check/pull/725.To resolve this problem, I changed the
SourceIndex
to no longer ignore alltheme_app_extension_labels
.As https://github.com/Shopify/theme-check/pull/725 has not been released, I'm not introducing a changelog for this.
How to test your changes?
./bin/theme-check <theme_path>
error: UndefinedObject: Undefined object 'section'
errors are no longer reported