codeowners icon indicating copy to clipboard operation
codeowners copied to clipboard

Fix finding codeownersDirectory on windows with parent folder

Open noahm opened this issue 3 years ago • 0 comments

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 avatar Aug 30 '21 23:08 noahm