mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
Remove the shebang line from pre-commit.sh
since bash isn't available by default on OS X.
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
if [ -z $AWX_IGNORE_BLACK ]
|
if [ -z $AWX_IGNORE_BLACK ]
|
||||||
then
|
then
|
||||||
black --check $(git diff --cached --name-only --diff-filter=AM | grep -E '\.py') || \
|
black --check $(git diff --cached --name-only --diff-filter=AM | grep -E '\.py') || \
|
||||||
|
|||||||
Reference in New Issue
Block a user