Skip to content

Commit

Permalink
Allow errorless consumption by rebar3_lint (#332)
Browse files Browse the repository at this point in the history
This will be required once we want to add more context
to errors in the plugin
  • Loading branch information
paulo-ferraz-oliveira authored Jan 18, 2024
1 parent 68e4d50 commit 59861d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/elvis_core.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ start() ->

%%% Rock Command

-spec rock(elvis_config:configs()) -> ok | {fail, [elvis_result:file()]}.
-spec rock(elvis_config:configs()) ->
ok | {fail, [{throw, term()} | elvis_result:file() | elvis_result:rule()]}.
rock(Config) ->
ok = elvis_config:validate(Config),
NewConfig = elvis_config:normalize(Config),
Expand Down

0 comments on commit 59861d4

Please sign in to comment.