Skip to content

Commit 6923474

Browse files
authored
Technical/Update documentation (#11)
1 parent 13af086 commit 6923474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ Example of the Rake task:
138138
namespace :rspec_mock do
139139
namespace :migration_analytics do
140140
desc 'Analyze Flexmock usage and track migration progress to RSpec mocks'
141-
task :flexmock, %i[path] do |_, args|
141+
task :flexmock do
142142
require 'rspec/mock/migration_analytics/cli'
143143

144-
path = args[:path] || 'spec'
144+
path = ::ARGV[1] || 'spec'
145145
puts("\n🔍 Analyzing Flexmock usage in: #{path}")
146146
RSpec::Mock::MigrationAnalytics::Cli.verify_path(path)
147147
end

0 commit comments

Comments
 (0)