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

Fix finding codeownersDirectory on windows with parent folder #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

noahm
Copy link
Contributor

@noahm noahm commented Aug 30, 2021

Hey, long time! This library has continued to be super useful at Twitch over the years! We happened to notice today that the regex I added years ago wasn't correctly matching when run on a windows environment (uses a backslash) and resulted in the wrong codeownersDirectory being set when used in a repo that put the CODEOWNERS file under one of the parent folders.

This may also fix #16 depending on what the reporter's original issue was, but without more context that's impossible to say.

@noahm noahm requested a review from beaugunderson as a code owner August 30, 2021 23:08
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.

Does not support Windows paths
1 participant