mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
xargs returns nonzero for negate + not found exe (fixes pcre + not found #447)
This commit is contained in:
parent
0e2c3c1ff9
commit
a157e1a63f
7 changed files with 49 additions and 11 deletions
|
|
@ -11,7 +11,8 @@ printable = frozenset(string.printable)
|
|||
|
||||
|
||||
class ExecutableNotFoundError(OSError):
|
||||
pass
|
||||
def to_output(self):
|
||||
return (1, self.args[0].encode('UTF-8'), b'')
|
||||
|
||||
|
||||
def parse_bytesio(bytesio):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue