Parcourir la source

Clarify rebar_utils:ensure_dir/1 comment

pull/3/head
Tuncer Ayaz il y a 14 ans
Parent
révision
1a577fcd43
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      src/rebar_utils.erl

+ 2
- 1
src/rebar_utils.erl Voir le fichier

@ -112,7 +112,8 @@ now_str() ->
lists:flatten(io_lib:format("~4b/~2..0b/~2..0b ~2..0b:~2..0b:~2..0b", lists:flatten(io_lib:format("~4b/~2..0b/~2..0b ~2..0b:~2..0b:~2..0b",
[Year, Month, Day, Hour, Minute, Second])). [Year, Month, Day, Hour, Minute, Second])).
%% TODO: filelib:ensure_dir/1 corrected in R13B04. Can be removed.
%% TODO: filelib:ensure_dir/1 corrected in R13B04. Remove when we drop
%% support for OTP releases older than R13B04.
ensure_dir(Path) -> ensure_dir(Path) ->
case filelib:ensure_dir(Path) of case filelib:ensure_dir(Path) of
ok -> ok ->

Chargement…
Annuler
Enregistrer