Skip to content

Commit

Permalink
tflint: fix file options
Browse files Browse the repository at this point in the history
  • Loading branch information
totakke committed Feb 26, 2025
1 parent c0c68a2 commit 9780488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bosslint/linter/tflint.clj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

(lint [files conf]
(when (linter/check-command "tflint")
(let [args (concat ["tflint"]
(let [args (concat ["tflint" "--recursive"]
(:command-options conf)
(map :absolute-path files))]
(mapcat #(vector "--filter" (:git-path %)) files))]
(if (zero? (apply process/run args))
:success
:error)))))

0 comments on commit 9780488

Please sign in to comment.