anchor.diff:          true ->
               Location
       end;
  +plt_dir1(Config, local) ->
  +    BaseDir = rebar_utils:base_dir(Config),
  +    filename:join([BaseDir, ".rebar"]);
   plt_dir1(_Config, shared) ->
       {ok, Home} = init:get_argument(home),
  -    filename:join([Home, ".rebar", "plt"]);
  -plt_dir1(Config, local) ->
  -    BaseDir = rebar_utils:base_dir(Config),
  -    filename:join([BaseDir, ".rebar"]).
  +    filename:join([Home, ".rebar", "plt"]).
   
   check_plt_existence(Plt) ->
       case filelib:is_regular(Plt) of
  
positive.code:         Description,
          {dialyzer,
           [
            {plt_location, shared},
            {plt_location, local},
            {plt_location, "custom_dir"},
            {plt_extra_apps, [app1, app2]},
            {warnings, [unmatched_returns, error_handling]}
  
negative.code:     {NewConfig, Plt}.
  
  plt_dir(Config, Opts) ->
      Location = proplists:get_value(plt_location, Opts, local),
      plt_dir1(Config, Location).
  
  plt_dir1(_Config, Location) when is_list(Location) ->
  