Skip to content

Commit

Permalink
Check for the phpunit command in a more efficient way
Browse files Browse the repository at this point in the history
  • Loading branch information
Maher4Ever committed Jan 3, 2012
1 parent fac7c92 commit 83ceaf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/phpunit/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run(paths, options = {})
# @return [Boolean] The status of phpunit
#
def phpunit_exists?
system('which phpunit > /dev/null 2>&1')
system('hash', 'phpunit')
end

# Executes the testing command on the tests
Expand Down

0 comments on commit 83ceaf5

Please sign in to comment.