From b8a969361d4fd52b574ba7fa5eaae839d68553bb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 16 Dec 2017 23:51:43 -0500 Subject: [PATCH] lang/javascript: remove extra parentheses causing nonvariable error --- modules/lang/javascript/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lang/javascript/config.el b/modules/lang/javascript/config.el index 90dedba89..772976ae9 100644 --- a/modules/lang/javascript/config.el +++ b/modules/lang/javascript/config.el @@ -27,8 +27,8 @@ (defun +javascript|init-flycheck-eslint () "Favor local eslint over global installs and configure flycheck for eslint." (when (derived-mode-p 'js-mode) - (when-let* (((exec-path (list (doom-project-expand "node_modules/.bin"))) - (eslint (executable-find "eslint")))) + (when-let* ((exec-path (list (doom-project-expand "node_modules/.bin"))) + (eslint (executable-find "eslint"))) (setq-local flycheck-javascript-eslint-executable eslint)) (when (flycheck-find-checker-executable 'javascript-eslint) ;; Flycheck has it's own trailing command and semicolon warning that was