mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix typos
This commit is contained in:
parent
58fd80917a
commit
d922985b36
2 changed files with 3 additions and 3 deletions
|
@ -476,8 +476,8 @@ update_code_path(Config) ->
|
||||||
restore_code_path(no_change) ->
|
restore_code_path(no_change) ->
|
||||||
ok;
|
ok;
|
||||||
restore_code_path({old, Path}) ->
|
restore_code_path({old, Path}) ->
|
||||||
%% Verify that all of the paths still exist -- some dynamically add paths
|
%% Verify that all of the paths still exist -- some dynamically
|
||||||
%% can get blown away during clean.
|
%% added paths can get blown away during clean.
|
||||||
true = code:set_path([F || F <- Path, filelib:is_file(F)]),
|
true = code:set_path([F || F <- Path, filelib:is_file(F)]),
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ filter_away_ignored(UnusedExports) ->
|
||||||
%% Functions can be ignored by using
|
%% Functions can be ignored by using
|
||||||
%% -ignore_xref([{F, A}, ...]).
|
%% -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
|
%% any functions marked to ignore. We then use this list to mask any functions
|
||||||
%% marked as unused exports by xref
|
%% marked as unused exports by xref
|
||||||
F = fun(Mod) ->
|
F = fun(Mod) ->
|
||||||
|
|
Loading…
Reference in a new issue