mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fixups and test for pre-commit/pre-commit#277
This commit is contained in:
parent
e216b0b2cc
commit
6eb260f774
4 changed files with 16 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# This is a randomish md5 to identify this script
|
||||
# e358c9dae00eac5d06b38dfdb1e33a8c
|
||||
# 138fd403232d2ddd5efb44317e38bf03
|
||||
|
||||
pushd `dirname $0` > /dev/null
|
||||
HERE=`pwd`
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
if [ "args" != "" ]; then
|
||||
if [ "$args" != "" ]; then
|
||||
args="$args --hook-stage push"
|
||||
else
|
||||
# If args is empty, then an attempt to push on an empty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue