Fix return value comparison in prettier-js-mode-maybe
This commit is contained in:
parent
b8d80f0d77
commit
243f1145f8
@ -1018,7 +1018,7 @@
|
|||||||
:init
|
:init
|
||||||
(defun prettier-js-mode-maybe ()
|
(defun prettier-js-mode-maybe ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(when (not (call-process "prettier" nil nil nil "--find-config-path" (buffer-file-name)))
|
(when (= 0 (call-process "prettier" nil nil nil "--find-config-path" (buffer-file-name)))
|
||||||
(prettier-js-mode t))))
|
(prettier-js-mode t))))
|
||||||
|
|
||||||
(use-package show-marks
|
(use-package show-marks
|
||||||
|
Loading…
Reference in New Issue
Block a user