Fix 'variable reference to nil’ compiler warning

This commit is contained in:
Henrik Lissner 2017-10-05 13:14:25 +02:00
parent 04326d3a60
commit 3b9bf9bb44
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -196,9 +196,9 @@
:modes (html-mode css-mode web-mode js2-mode markdown-mode) :modes (html-mode css-mode web-mode js2-mode markdown-mode)
:files "package.json" :files "package.json"
:on-enter :on-enter
(push (doom-project-expand "node_modules/.bin") (when (make-local-variable 'exec-path)
(if (make-local-variable 'exec-path) (push (doom-project-expand "node_modules/.bin")
exec-path))) exec-path)))
;; ;;