mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix 'variable reference to nil’ compiler warning
This commit is contained in:
@ -196,9 +196,9 @@
|
||||
:modes (html-mode css-mode web-mode js2-mode markdown-mode)
|
||||
:files "package.json"
|
||||
:on-enter
|
||||
(push (doom-project-expand "node_modules/.bin")
|
||||
(if (make-local-variable 'exec-path)
|
||||
exec-path)))
|
||||
(when (make-local-variable 'exec-path)
|
||||
(push (doom-project-expand "node_modules/.bin")
|
||||
exec-path)))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user