Skip to content

Commit 7473fa4

Browse files
committed
Use new register method after gem bump of pronto to 0.11.3
Checkout: prontolabs/pronto#450
1 parent c757eb1 commit 7473fa4

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/github_action_check_run_formatter.rb

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,4 @@ def messages_by_runner
123123
end
124124
end
125125

126-
begin
127-
warn_level = $VERBOSE
128-
$VERBOSE = nil
129-
Pronto::Formatter.const_set(
130-
:FORMATTERS,
131-
Pronto::Formatter::FORMATTERS.merge(
132-
'github_action_check_run' => Pronto::Formatter::GithubActionCheckRunFormatter
133-
)
134-
)
135-
ensure
136-
$VERBOSE = warn_level
137-
end
126+
Pronto::Formatter.register(Pronto::Formatter::GithubActionCheckRunFormatter)

0 commit comments

Comments
 (0)