File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 657657
658658(defun lsp-treemacs-deps--get-children (dep )
659659 (lsp-treemacs-deps-with-jdtls
660- (-let (((&hash " projectUri" project-uri " rootPath" root-path " path" " kind" " name" ) dep))
660+ (-let* (((&hash " projectUri" project-uri " rootPath" root-path " path" " kind" " name" " uri" ) dep)
661+ (project-uri (if (eq kind 2 ) uri project-uri)))
661662 (unless (or (= kind 6 )
662663 (= kind 8 ))
663664 (->> (lsp-send-execute-command
664665 " java.getPackageData"
665- (vector (ht (" kind" kind)
666- (" path" (unless (eq kind 2 )
667- (if (= 5 kind)
668- name
669- path)))
666+ (vector (ht (" kind" kind)
667+ (" path" (unless (eq kind 2 )
668+ (if (= 5 kind)
669+ name
670+ path)))
670671 (" rootPath" (unless (eq kind 2 )
671672 (or root-path path)))
672- (" projectUri" project-uri))))
673+ (" projectUri" project-uri))))
673674 (-mapcat (lambda (inner-dep )
674675 (puthash " projectUri" project-uri inner-dep)
675676 (when (= kind 4 )
You can’t perform that action at this time.
0 commit comments