mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
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 ]
|
||||
then
|
||||
black --check $(git diff --cached --name-only --diff-filter=AM | grep -E '\.py') || \
|
||||
|
||||
Reference in New Issue
Block a user