Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Fix BaseGlob coverter to support multiple flags #2122

Merged
merged 3 commits into from
Mar 21, 2022
Merged

Conversation

karreiro
Copy link
Contributor

@karreiro karreiro commented Mar 4, 2022

WHY are these changes introduced?

The BaseGlob converter, introduced to support patterns without quotes, doesn't support many occurrences of the same flag.

WHAT is this pull request doing?

This PR changes the BaseGlob converter to support multiple occurrences of the same flag.

How to test your changes?

  • Open a theme directory
  • Run DEBUG=1 shopify-dev theme pull -d -x config/settings_schema.json -x config/settings_data.json
  • Notice that both files are ignored

Before this PR:
before

After this PR:
after

Post-release steps

None.

Update checklist

  • I've added a CHANGELOG entry for this PR (if the change is public-facing)
  • I've considered possible cross-platform impacts (Mac, Linux, Windows).
  • I've left the version number as is (we'll handle incrementing this when releasing).
  • I've included any post-release steps in the section above (if needed).

@karreiro karreiro linked an issue Mar 7, 2022 that may be closed by this pull request
2 tasks
@karreiro karreiro changed the title Support multiple flags in the base glob coverter Fix BaseGlob coverter to support multiple flags Mar 18, 2022
@karreiro karreiro marked this pull request as ready for review March 18, 2022 10:34
@karreiro karreiro requested review from a team, jesalerno84, isaacroldan, pepicrft and gonzaloriestra and removed request for a team, jesalerno84, isaacroldan, pepicrft and gonzaloriestra March 18, 2022 10:34
@karreiro karreiro merged commit 77057f3 into main Mar 21, 2022
@karreiro karreiro deleted the multiple-flags-glob branch March 21, 2022 15:19
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.

[Bug]: Ignore syntax changed?
2 participants