Skip to content

Commit

Permalink
[Async] Make sure paths to maybe flatten are files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Miller committed Jun 13, 2024
1 parent 923fbbd commit 54ef590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/elisp/treemacs-async.el
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,9 @@ Every string list consists of the following elements:
(default-directory path)
(search-paths nil))
(treemacs-walk-reentry-dom (treemacs-find-in-dom path)
(lambda (node) (push (treemacs-dom-node->key node) search-paths)))
(lambda (node)
(-let [key (treemacs-dom-node->key node)]
(when (stringp key) (push key search-paths)))))
(-let [command
`(,treemacs-python-executable
"-O"
Expand Down

0 comments on commit 54ef590

Please sign in to comment.