Skip to content

Commit

Permalink
chore: remove composer-unused hook removal #0000
Browse files Browse the repository at this point in the history
This was a temporary workaround fix, to remove composer-unused for
repo-ansible managed projects that already had it enabled. Most of those
should no longer have composer-unused hook present at this point in
time.
  • Loading branch information
mhitza committed Jan 8, 2025
1 parent 7b8b7f5 commit 0c58532
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions templates/.devcontainer/postStart.sh.j2
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
#!/usr/bin/env bash
# {{ repo_managed }}

# pre-push composer-unused hook disabled. See Card #8980
if [ -f .git/hooks/pre-push ]; then
diff .devcontainer/git/hooks/pre-push .git/hooks/pre-push
if [ $? -eq 0 ]; then
rm .git/hooks/pre-push
fi
fi
{{ repo.devcontainer.postStartCommand|default('') }}

0 comments on commit 0c58532

Please sign in to comment.