Skip to content

Commit

Permalink
[Fix #1714] Make projectile-discover-projects-in-directory interactive (
Browse files Browse the repository at this point in the history
  • Loading branch information
shusso authored Nov 25, 2021
1 parent d43f6c7 commit 45d217a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Bugs fixed

* [#1514](https://github.com/bbatsov/projectile/issues/1514): Fix `projectile-ag` global ignores not in effect.
* [#1714](https://github.com/bbatsov/projectile/issues/1714): Fix `projectile-discover-projects-in-directory` not interactive.

### Changes

Expand Down
3 changes: 3 additions & 0 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,9 @@ The cache is created both in memory and on the hard drive."
If DEPTH is non-nil recursively descend exactly DEPTH levels below DIRECTORY and
discover projects there."
(interactive
(list (read-directory-name "Starting directory: ")))

(if (file-directory-p directory)
(if (and (numberp depth) (> depth 0))
;; Ignore errors when listing files in the directory, because
Expand Down

0 comments on commit 45d217a

Please sign in to comment.