浏览代码

Silence warnings, courtesy of Tuncer Ayaz

pull/3/head
Dave Smith 15 年前
父节点
当前提交
fe03778678
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/rebar_escripter.erl
  2. +1
    -1
      src/rebar_utils.erl

+ 1
- 1
src/rebar_escripter.erl 查看文件

@ -32,7 +32,7 @@
%% Public API
%% ===================================================================
escriptize(Config, AppFile) ->
escriptize(_Config, AppFile) ->
%% Extract the application name from the archive -- this will be be what
%% we call the output script
{ok, AppName, _AppData} = rebar_app_utils:load_app_file(AppFile),

+ 1
- 1
src/rebar_utils.erl 查看文件

@ -85,7 +85,7 @@ now_str() ->
%% Internal functions
%% ====================================================================
match_first([], Val) ->
match_first([], _Val) ->
nomatch;
match_first([{Regex, MatchValue} | Rest], Val) ->
case re:run(Val, Regex, [{capture, none}]) of

正在加载...
取消
保存