浏览代码

rebar_rel_utils: remove two lines of noop

pull/3/head
Daniel Luna 12 年前
提交者 Tuncer Ayaz
父节点
当前提交
d496be2871
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      src/rebar_rel_utils.erl

+ 1
- 2
src/rebar_rel_utils.erl 查看文件

@ -107,8 +107,7 @@ get_rel_apps(Name, Path) ->
get_rel_file_path(Name, Path) ->
[RelFile] = filelib:wildcard(filename:join([Path, "releases", "*",
Name ++ ".rel"])),
[BinDir|_] = re:replace(RelFile, Name ++ "\\.rel", ""),
filename:join([binary_to_list(BinDir), Name ++ ".rel"]).
RelFile.
%% Get the previous release path from a global variable
get_previous_release_path(Config) ->

正在加载...
取消
保存