mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix Dialyzer warnings in rebar_upgrade
This commit is contained in:
parent
7ac3a5aa9b
commit
0e729bf90e
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
|||
run_systools(NameVer, NewName),
|
||||
|
||||
%% Boot file changes
|
||||
boot_files(NewVer, NewName),
|
||||
{ok, _} = boot_files(NewVer, NewName),
|
||||
|
||||
%% Extract upgrade and tar it back up with changes
|
||||
make_tar(NameVer),
|
||||
|
@ -183,7 +183,7 @@ cleanup(NameVer, Name, Ver) ->
|
|||
filename:join([".", NameVer ++ ".script"]),
|
||||
filename:join([".", "relup"])
|
||||
],
|
||||
[ok = file:delete(F) || F <- Files],
|
||||
lists:foreach(fun(F) -> ok = file:delete(F) end, Files),
|
||||
|
||||
ok = remove_dir_tree("releases"),
|
||||
ok = remove_dir_tree("lib").
|
||||
|
|
Loading…
Reference in a new issue