mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
Merge pull request #10190 from jbradberry/fix-precommit-for-macs
Remove the shebang line from pre-commit.sh
SUMMARY
since bash isn't available by default on OS X.
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
API
AWX VERSION
ADDITIONAL INFORMATION
Reviewed-by: Kersom <None>
Reviewed-by: Rebeccah Hunter <rhunter@redhat.com>
This commit is contained in:
commit
f2b2e64426
@ -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') || \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user