We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13af086 commit 6923474Copy full SHA for 6923474
README.md
@@ -138,10 +138,10 @@ Example of the Rake task:
138
namespace :rspec_mock do
139
namespace :migration_analytics do
140
desc 'Analyze Flexmock usage and track migration progress to RSpec mocks'
141
- task :flexmock, %i[path] do |_, args|
+ task :flexmock do
142
require 'rspec/mock/migration_analytics/cli'
143
144
- path = args[:path] || 'spec'
+ path = ::ARGV[1] || 'spec'
145
puts("\n🔍 Analyzing Flexmock usage in: #{path}")
146
RSpec::Mock::MigrationAnalytics::Cli.verify_path(path)
147
end
0 commit comments