summaryrefslogtreecommitdiffstats
path: root/pre-commit.sh
diff options
context:
space:
mode:
authorJeff Bradberry <jeff.bradberry@gmail.com>2021-05-13 16:49:24 +0200
committerJeff Bradberry <jeff.bradberry@gmail.com>2021-05-13 16:49:24 +0200
commitd07887bd91986a63ac76a2ab3d6d6ac010482f66 (patch)
tree1d96f509b102e3242a7f581c85bcc1aec9b10f94 /pre-commit.sh
parentMerge pull request #10185 from jakemcdermott/fix-10170 (diff)
downloadawx-d07887bd91986a63ac76a2ab3d6d6ac010482f66.tar.xz
awx-d07887bd91986a63ac76a2ab3d6d6ac010482f66.zip
Remove the shebang line from pre-commit.sh
since bash isn't available by default on OS X.
Diffstat (limited to 'pre-commit.sh')
-rwxr-xr-xpre-commit.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/pre-commit.sh b/pre-commit.sh
index 24393c790b..4f073799a5 100755
--- a/pre-commit.sh
+++ b/pre-commit.sh
@@ -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') || \