jjmschofield / github-codeowners

29 stars 16 forks source link

Validate: Can't use unix pipes or return code #69

Open andheiberg-babylonhealth opened 2 years ago

andheiberg-babylonhealth commented 2 years ago
$ github-codeowners validate
Found rules which did not match any files [
  '/some_file.yml @team'
]
$ echo $?
0

I would have expected this to return an error.

Further I tried to work around this by using wc -l but no dice:

$ github-codeowners validate | wc -l
Found rules which did not match any files [
  '/some_file.yml @team'
]
       0