mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 11:09:55 +00:00
Normalize log level as WARN to ERROR in new patch
This commit is contained in:
parent
167e2a12b8
commit
d42ed46835
2 changed files with 3 additions and 3 deletions
|
@ -45,8 +45,8 @@ run(_Dir) ->
|
|||
%% Treat version constraints as warnings.
|
||||
retest:log(info, "Check require vsn success with -k/--keep-going~n"),
|
||||
ok = check_output("./rebar -k compile", should_succeed,
|
||||
[SharedExpected, "WARN: "],
|
||||
["ERROR: "]),
|
||||
[SharedExpected, "ERROR: "],
|
||||
["WARN: "]),
|
||||
ok.
|
||||
|
||||
check_output(Cmd, FailureMode, Expected, Unexpected) ->
|
||||
|
|
|
@ -137,4 +137,4 @@ version_tuple(ShouldAbort, OtpRelease, Type) ->
|
|||
maybe_abort(abort, Format, Data) ->
|
||||
?ABORT(Format, Data);
|
||||
maybe_abort(keep_going, Format, Data) ->
|
||||
?WARN(Format, Data).
|
||||
?ERROR(Format, Data).
|
||||
|
|
Loading…
Reference in a new issue