We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4642a commit 125bb1cCopy full SHA for 125bb1c
phpactor.el
@@ -155,7 +155,8 @@ of GitHub.")
155
(defun phpactor-get-working-dir ()
156
"Return working directory of Phpactor."
157
(directory-file-name
158
- (expand-file-name (php-project-get-root-dir))))
+ (expand-file-name
159
+ (or (php-project-get-root-dir) default-directory))))
160
161
(defun phpactor--expand-local-file-name (name)
162
"Expand file name by `NAME'."
0 commit comments