summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_core.erl4
-rw-r--r--src/rebar_xref.erl2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index f8eb6f5..353a218 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -476,8 +476,8 @@ update_code_path(Config) ->
restore_code_path(no_change) ->
ok;
restore_code_path({old, Path}) ->
- %% Verify that all of the paths still exist -- some dynamically add paths
- %% can get blown away during clean.
+ %% Verify that all of the paths still exist -- some dynamically
+ %% added paths can get blown away during clean.
true = code:set_path([F || F <- Path, filelib:is_file(F)]),
ok.
diff --git a/src/rebar_xref.erl b/src/rebar_xref.erl
index 55b4f0e..0e29792 100644
--- a/src/rebar_xref.erl
+++ b/src/rebar_xref.erl
@@ -111,7 +111,7 @@ filter_away_ignored(UnusedExports) ->
%% Functions can be ignored by using
%% -ignore_xref([{F, A}, ...]).
- %% Setup a filter function that build a list of behaviour callbacks and/or
+ %% Setup a filter function that builds a list of behaviour callbacks and/or
%% any functions marked to ignore. We then use this list to mask any functions
%% marked as unused exports by xref
F = fun(Mod) ->