Skip to content

Commit

Permalink
fix(fmt): add -no-color to terraform fmt command
Browse files Browse the repository at this point in the history
Fixes #47
  • Loading branch information
Fuco1 committed Mar 1, 2023
1 parent dc61049 commit 4d1c8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
(interactive)
(let ((buf (get-buffer-create "*terraform-fmt*")))
(if (zerop (call-process-region (point-min) (point-max)
"terraform" nil buf nil "fmt" "-"))
"terraform" nil buf nil "fmt" "-no-color" "-"))
(let ((point (point))
(window-start (window-start)))
(erase-buffer)
Expand Down

0 comments on commit 4d1c8b2

Please sign in to comment.