Skip to content

Commit 364ceb1

Browse files
committed
be less chatty about project roots by default
1 parent 9adbcf5 commit 364ceb1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

emacs-codeql.el

+3-5
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
(require 'org)
9999
(require 'ol)
100100
(require 'files)
101+
(require 'project)
101102

102103
;; bundled
103104
(require 'json-pointer)
@@ -313,11 +314,8 @@ Leave nil for default.")
313314
;; project.el integration for eglot
314315

315316
(defun codeql--find-project-root (path)
316-
(let ((root
317-
(or (locate-dominating-file path "qlpack.yml")
318-
(locate-dominating-file path "codeql-pack.yml"))))
319-
(when root (message "Found project root: %s" root)
320-
root)))
317+
(or (locate-dominating-file path "qlpack.yml")
318+
(locate-dominating-file path "codeql-pack.yml")))
321319

322320
(defun project-codeql (dir)
323321
(let ((root (codeql--find-project-root dir)))

0 commit comments

Comments
 (0)