mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
General cleanup
This commit is contained in:
@ -71,7 +71,7 @@
|
||||
(hash (gethash project-path npm-conf))
|
||||
(package-file (expand-file-name "package.json" project-path))
|
||||
deps)
|
||||
(when-let (json (and (not hash) (f-exists? package-file)
|
||||
(ignore-errors (json-read-file package-file))))
|
||||
(-when-let (json (and (not hash) (f-exists? package-file)
|
||||
(ignore-errors (json-read-file package-file))))
|
||||
(puthash project-path json npm-conf))))
|
||||
|
||||
|
Reference in New Issue
Block a user