Expected behavior
When I am in a file src/app/project.clj in a deps.edn project, clojure-project-root-path returns my root directory.
Actual behavior
clojure-project-root-path interprets this as a leiningen project and returns the current (nested) directory.
Steps to reproduce the problem
See the repo https://github.com/bolivier/clojure-mode-root-dir-bug
Environment & Version information
Linux
cider 1.18.0-snapshot
clojure-mode version
clojure-mode (5.20.0-snapshot)
Emacs version
30.1
Operating system
Arch Linux
Expected behavior
When I am in a file
src/app/project.cljin a deps.edn project,clojure-project-root-pathreturns my root directory.Actual behavior
clojure-project-root-pathinterprets this as a leiningen project and returns the current (nested) directory.Steps to reproduce the problem
See the repo https://github.com/bolivier/clojure-mode-root-dir-bug
Environment & Version information
Linux
cider 1.18.0-snapshot
clojure-mode version
Emacs version
30.1
Operating system
Arch Linux