Przeglądaj źródła

Silence warnings, courtesy of Tuncer Ayaz

pull/3/head
Dave Smith 15 lat temu
rodzic
commit
fe03778678
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      src/rebar_escripter.erl
  2. +1
    -1
      src/rebar_utils.erl

+ 1
- 1
src/rebar_escripter.erl Wyświetl plik

@ -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 Wyświetl plik

@ -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

Ładowanie…
Anuluj
Zapisz