Skip to content
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

Fixed regex bug in file dialog #638

Merged
merged 2 commits into from
Nov 29, 2022
Merged

Fixed regex bug in file dialog #638

merged 2 commits into from
Nov 29, 2022

Conversation

victorhook
Copy link
Contributor

There was a bug when trying to open the config file in the loco tab where the .yaml file couldn't be seen. This was caused by a small regex bug in the code. This PR fixes the bug and replaces the regex by a variable since the regex is used at multiple places, so we now only have to change it on one place if needed in the future.

…This was because the regex uses two ;; instead of ; to separate regexes.

I also made a variable with the regex so we only have to change it in one place, if needed, in the future.
@krichardsson krichardsson merged commit 45ba7e6 into master Nov 29, 2022
@krichardsson krichardsson deleted the config-file-regex-fix branch November 29, 2022 07:56
@krichardsson krichardsson added this to the 2022.12 milestone Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants