瀏覽代碼

Fix typos

pull/3/head
Tuncer Ayaz 14 年之前
父節點
當前提交
d922985b36
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. +2
    -2
      src/rebar_core.erl
  2. +1
    -1
      src/rebar_xref.erl

+ 2
- 2
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.

+ 1
- 1
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) ->

Loading…
取消
儲存