Explorar el Código

Fix whitespace errors

pull/3/head
Tuncer Ayaz hace 12 años
padre
commit
2829741a38
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. +2
    -1
      src/rebar_deps.erl
  2. +2
    -1
      src/rebar_utils.erl

+ 2
- 1
src/rebar_deps.erl Ver fichero

@ -486,7 +486,8 @@ source_engine_avail(Source) ->
source_engine_avail(Name, Source).
source_engine_avail(Name, Source)
when Name == hg; Name == git; Name == svn; Name == bzr; Name == rsync; Name == fossil ->
when Name == hg; Name == git; Name == svn; Name == bzr; Name == rsync;
Name == fossil ->
case vcs_client_vsn(Name) >= required_vcs_client_vsn(Name) of
true ->
true;

+ 2
- 1
src/rebar_utils.erl Ver fichero

@ -356,7 +356,8 @@ patch_on_windows(Cmd, Env) ->
expand_env_variable(Acc, Key, Value)
end, Cmd, Env),
%% Remove left-over vars
re:replace(Cmd1, "\\\$\\w+|\\\${\\w+}", "", [global, {return, list}]);
re:replace(Cmd1, "\\\$\\w+|\\\${\\w+}", "",
[global, {return, list}]);
_ ->
Cmd
end.

Cargando…
Cancelar
Guardar