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

Make sure we allow two sibling dirs #268

Merged
merged 2 commits into from
Nov 6, 2021
Merged

Conversation

robbevp
Copy link
Member

@robbevp robbevp commented Nov 6, 2021

Re #254

I've changed the validation to actually use the pathname. Since this requires us to actually load the locations from the database, so I've merged the two validations into one, so we only have to do the iteration over the locations once.

This also has the benefit that relative paths will be expanded before the check happens - but I wouldn't immediatly know how to write a test for this.

@robbevp robbevp added the bug Something isn't working label Nov 6, 2021
@robbevp robbevp requested a review from chvp November 6, 2021 11:48
@robbevp robbevp self-assigned this Nov 6, 2021
@chvp chvp enabled auto-merge (squash) November 6, 2021 12:08
@chvp chvp merged commit 51f5f1e into main Nov 6, 2021
@chvp chvp deleted the fix/location-with-extra-character branch November 6, 2021 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants