Skip to content

Commit

Permalink
Expand path to PHPUnit execubatle file
Browse files Browse the repository at this point in the history
This problem is made by #58.
That occurs because "~" is escaped before being passed to the shell.
  • Loading branch information
zonuexe committed Aug 12, 2018
1 parent 3710490 commit 0f81c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit.el
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
((functionp executable) (funcall executable))
((and directory
(file-exists-p (concat directory "vendor/bin/phpunit")))
(concat directory "vendor/bin/phpunit"))
(expand-file-name (concat directory "vendor/bin/phpunit")))
((executable-find "phpunit") "phpunit")
(t (error "PHPUnit command/package is not installed")))))

Expand Down

0 comments on commit 0f81c19

Please sign in to comment.