Debug project-find-file for briefcase
As the name suggests, `f-parent-of?` only returns true when A is a *parent* of B. What I want instead if `f-ancestor-of?`.
This commit is contained in:
parent
9773bc32ee
commit
12b5a10b05
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@
|
|||
;; ancestor .gitignore files.
|
||||
(if (f-equal? constants-briefcase dir)
|
||||
(cons 'vc dir)
|
||||
(when (f-parent-of? constants-briefcase dir)
|
||||
(when (f-ancestor-of? constants-briefcase dir)
|
||||
(if (f-exists? (f-join dir "default.nix"))
|
||||
(cons 'transient dir)
|
||||
(wpc-misc--briefcase-find (f-parent dir))))))
|
||||
|
|
Loading…
Reference in a new issue