Skip to content

Commit

Permalink
code:clash is annoying when you load couchbeam in a script. There is
Browse files Browse the repository at this point in the history
surely another way to load modules properly.
  • Loading branch information
benoitc committed Nov 27, 2010
1 parent 1908a6a commit d58e77c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/couchbeam_deps.erl
Expand Up @@ -42,7 +42,8 @@ new_siblings(Module) ->
%% of the application for Module are on the code path.
ensure(Module) ->
code:add_paths(new_siblings(Module)),
code:clash(),
%% code:clash is annoying when you load couchbeam in a script.
%% code:clash(),
ok.

%% @spec ensure() -> ok
Expand Down

0 comments on commit d58e77c

Please sign in to comment.