Skip to content

Commit

Permalink
Correcting call to get :cassette_library_dir setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelo Lakra committed Jan 18, 2017
1 parent 6869a60 commit 6e8a1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/tasks.ex
Expand Up @@ -40,7 +40,7 @@ defmodule Mix.Tasks.Vcr do

if pattern do
ExVCR.Task.Runner.delete_cassettes(
options[:dir] || ExVCR.Setting.get(:cassette_library_path),
options[:dir] || ExVCR.Setting.get(:cassette_library_dir),
pattern, options[:interactive] || false)
else
IO.puts "[Invalid Param] Specify substring of cassette file-name to be deleted - `mix vcr.delete [pattern]`, or use `mix vcr.delete --all` for deleting all cassettes."
Expand Down

0 comments on commit 6e8a1fd

Please sign in to comment.