Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #201 from xwp/bugfix/issue-200
Browse files Browse the repository at this point in the history
pre-commit error on submodule on vagrant
  • Loading branch information
westonruter authored Aug 20, 2016
2 parents 4eab31d + f4604c8 commit 190e8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ function run_phpunit_local {

if [ ! -z "$ABSOLUTE_VAGRANT_PATH" ]; then
echo "Running phpunit in Vagrant"
vagrant ssh -c "cd $ABSOLUTE_VAGRANT_PATH && export DIFF_BASE=$DIFF_BASE && export DIFF_HEAD=$DIFF_HEAD && export DEV_LIB_ONLY=phpunit && .git/hooks/pre-commit"
vagrant ssh -c "cd $ABSOLUTE_VAGRANT_PATH && export DIFF_BASE=$DIFF_BASE && export DIFF_HEAD=$DIFF_HEAD && export DEV_LIB_ONLY=phpunit && dev-lib/pre-commit"
elif command -v vassh >/dev/null 2>&1; then
echo "Running phpunit in vagrant via vassh..."
vassh phpunit $( if [ -n "$PHPUNIT_CONFIG" ]; then echo -c "$PHPUNIT_CONFIG"; fi )
Expand Down

0 comments on commit 190e8ce

Please sign in to comment.