Use pipes.quote for executable path

This commit is contained in:
Anthony Sottile 2017-09-21 15:16:48 -07:00
parent 6b81fe9d58
commit 873dd173ce
3 changed files with 6 additions and 4 deletions

View file

@ -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