mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04:00
redirect stderr to devnull
This commit is contained in:
parent
a26fb3ba02
commit
ed0d44b665
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ def _ns(
|
|||
|
||||
|
||||
def _rev_exists(rev: str) -> bool:
|
||||
return subprocess.call(('git', 'cat-file', '-e', rev)) == 0
|
||||
return subprocess.call(('git', 'cat-file', '-e', rev), stderr=subprocess.DEVNULL) == 0
|
||||
|
||||
|
||||
def _pre_push_ns(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue