mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use pipes.quote for executable path
This commit is contained in:
parent
6b81fe9d58
commit
873dd173ce
3 changed files with 6 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ popd > /dev/null
|
|||
retv=0
|
||||
args=""
|
||||
|
||||
ENV_PYTHON='{sys_executable}'
|
||||
ENV_PYTHON={sys_executable}
|
||||
SKIP_ON_MISSING_CONF={skip_on_missing_conf}
|
||||
|
||||
which pre-commit >& /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue