emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode f57430af6f 142/308: Really no need to check fo


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode f57430af6f 142/308: Really no need to check for existence of phpcs command.
Date: Tue, 25 Jan 2022 10:59:39 -0500 (EST)

branch: elpa/drupal-mode
commit f57430af6f5b5e59364b36f9327161c7562b2312
Author: Thomas Fini Hansen <xen@xen.dk>
Commit: Thomas Fini Hansen <xen@xen.dk>

    Really no need to check for existence of phpcs command.
---
 drupal/flycheck.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drupal/flycheck.el b/drupal/flycheck.el
index fcc44d8013..941680f5ec 100644
--- a/drupal/flycheck.el
+++ b/drupal/flycheck.el
@@ -46,7 +46,6 @@ so no need to highlight it twice."
 (defun drupal/flycheck-hook ()
   "Enable drupal-mode support for flycheck."
   (when (and (apply 'derived-mode-p (append drupal-php-modes drupal-css-modes 
drupal-js-modes))
-             (executable-find "phpcs")
              drupal/phpcs-standard)
     ;; Set the coding standard to "Drupal" (we checked that it is
     ;; supported above.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]