-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
If the repo has a symlink to a directory which is checked into git, this tool crashes when the -g flag is used. Here is a minimal example to reproduce:
mkdir foo
ln -s foo bar
github-codeowners audit # works
github-codeowners audit -g # works
git add foo bar
git commit
github-codeowners audit # works
github-codeowners audit -g # FAILS
The error is:
failed to read lines from file bar [Error: EISDIR: illegal operation on a directory, read] {
errno: -21,
code: 'EISDIR',
syscall: 'read'
}
failed to run audit command [Error: EISDIR: illegal operation on a directory, read] {
errno: -21,
code: 'EISDIR',
syscall: 'read'
}
Metadata
Metadata
Assignees
Labels
No labels