Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix checking phpunit extince on zsh

  • Loading branch information...
commit 3f63c25a3f26bde18693bd6511676aa6fb393b1c 1 parent 9ac8ba0
@Maher4Ever authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/guard/phpunit/runner.rb
View
2  lib/guard/phpunit/runner.rb
@@ -46,7 +46,7 @@ def run(paths, options = {})
# @return [Boolean] The status of phpunit
#
def phpunit_exists?
- system('hash', 'phpunit')
+ system('which phpunit > /dev/null 2>&1')
end
# Executes the testing command on the tests
Please sign in to comment.
Something went wrong with that request. Please try again.