Fix return value comparison in `prettier-js-mode-maybe`

This commit is contained in:
Adam Goldsmith 2021-12-01 14:59:39 -05:00
parent b8d80f0d77
commit 243f1145f8
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@
:init
(defun prettier-js-mode-maybe ()
(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))))
(use-package show-marks