diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-06-07 15:34:36 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-06-07 15:34:36 +0200 |
commit | c122eeec7561e74694184b5ffaa338cf962a374c (patch) | |
tree | 62e06e3015e1d44fe44d79f47e9b6873d8f12108 /src | |
parent | b723e81cbbfe3150fde368fc81c25041320f3173 (diff) |
Fix whitespace errors
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_edoc.erl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/rebar_edoc.erl b/src/rebar_edoc.erl index a8f91e9..b2cd671 100644 --- a/src/rebar_edoc.erl +++ b/src/rebar_edoc.erl @@ -62,7 +62,8 @@ doc(Config, File) -> %% For each source directory, look for a more recent file than %% SumaryLastMod; in that case, we go ahead and do a full regen - NeedsRegen = newer_file_exists(proplists:get_value(source_path, EDocOpts, ["src"]), + NeedsRegen = newer_file_exists(proplists:get_value(source_path, + EDocOpts, ["src"]), EDocInfoLastMod), case NeedsRegen of @@ -98,7 +99,8 @@ newer_file_exists(Paths, LastMod) -> FLast = filelib:last_modified(Filename), case FLast > LastMod of true -> - ?DEBUG("~p is more recent than edoc-info: ~120p > ~120p\n", + ?DEBUG("~p is more recent than edoc-info: " + "~120p > ~120p\n", [Filename, FLast, LastMod]), throw(newer_file_exists); false -> @@ -106,8 +108,10 @@ newer_file_exists(Paths, LastMod) -> end end, try - lists:foldl(fun(P, _) -> filelib:fold_files(P, ".*.erl", true, CheckFile, false) end, - undefined, Paths), + lists:foldl(fun(P, _) -> + filelib:fold_files(P, ".*.erl", true, + CheckFile, false) + end, undefined, Paths), false catch throw:newer_file_exists -> |