Skip to content

Commit

Permalink
fixup! Avoid printing double lines in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
snogge committed Mar 21, 2024
1 parent 2f3e034 commit b803159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buttercup.el
Original file line number Diff line number Diff line change
Expand Up @@ -1846,7 +1846,7 @@ EVENT and ARG are described in `buttercup-reporter'."
(`spec-started
(or buttercup-reporter-batch-quiet-statuses
;; Do not 'pre-print' in github actions unless color is disabled. See #181.
(and (not buttercup-color) (getenv "GITHUB_ACTION"))
(getenv "GITHUB_ACTION")
(and buttercup-color
(string-match-p "[\n\v\f]" (buttercup-spec-description arg)))
(buttercup--print "%s" (buttercup--indented-description arg))))
Expand Down

0 comments on commit b803159

Please sign in to comment.