Skip to content

Commit

Permalink
Output (visible) message in case of error (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira authored Apr 19, 2022
1 parent 79b9f05 commit c1ef3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dep_updater.erl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ maybe_update_git_dep(Name, {git, Repo, {tag, Vsn}}, _Dep, Opts) ->
io_lib:format("git -c 'versionsort.suffix=-' ls-remote --refs --tags ~p '*.*.*'",
[Repo])),
LatestVsn =
case rebar_utils:sh(GitCmd, []) of
case rebar_utils:sh(GitCmd, [use_stdout]) of
{ok, ""} ->
rebar_api:info("Latest version for ~p not found, keeping ~ts", [Name, Vsn]),
Vsn;
Expand Down

0 comments on commit c1ef3ac

Please sign in to comment.