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,8 +196,8 @@
:modes (html-mode css-mode web-mode js2-mode markdown-mode)
:files "package.json"
:on-enter
(when (make-local-variable 'exec-path)
(push (doom-project-expand "node_modules/.bin")
(if (make-local-variable 'exec-path)
exec-path)))