Address changes

This commit is contained in:
claytharrison 2025-03-25 21:38:57 +01:00
parent f7933808a6
commit 9ecd740ec9

View file

@ -196,9 +196,9 @@ Returns an alist with the following keys:
"Pull the `name` property out of the YAML file at FILENAME." "Pull the `name` property out of the YAML file at FILENAME."
(when filename (when filename
(let ((filename (file-truename filename))) (let ((filename (file-truename filename)))
(or (unless (file-has-changed-p filename)) (or (unless (file-has-changed-p filename)
(cdr (assoc filename micromamba--yml-cache)) (cdr (assoc filename micromamba--yml-cache)))
(setf (alist-get filename micromamba--yml-cache) (setf (alist-get filename micromamba--yml-cache nil nil #'equal)
(micromamba--get-name-from-env-yml-contents (micromamba--get-name-from-env-yml-contents
(micromamba--read-file-into-string filename))))))) (micromamba--read-file-into-string filename)))))))