fix(language/dockerfile): ensure hadolint executable is found

This commit is contained in:
2023-08-01 01:32:25 +01:00
parent 8612ae4fc6
commit a64284d754

View File

@@ -58,6 +58,7 @@
(defun siren-flycheck-setup-hadolint()
"Setup hadolint flycheck checker."
(with-eval-after-load 'flycheck
(flycheck-def-executable-var hadolint "hadolint")
(flycheck-define-checker hadolint
"A Dockerfile syntax checker using the hadolint.