Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

robots Object in robots.txt file #644

Merged

Conversation

we5
Copy link
Contributor

@we5 we5 commented Oct 5, 2022

This PR adds the robots object as „global“ object for the UndefinedObject check. It just adds this for the robots.txt and should through an offense in all other templates.

Copy link
Contributor

@charlespwd charlespwd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this 🙏

@charlespwd charlespwd merged commit 1116957 into Shopify:main Oct 31, 2022
mgmanzella pushed a commit that referenced this pull request Dec 12, 2022
* Add specific if clause for robots.txt template check

* Adding test for robots global object
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants