reactrb/reactrb

View on GitHub
lib/generators/reactive_ruby/test_app/test_app_generator.rb

Summary

Maintainability
A
0 mins
Test Coverage

File.exists? is deprecated in favor of File.exist?.
Open

      return unless File.exists?(test_application_path) && !options[:pretend]

This cop checks for uses of the deprecated class method usages.

Example:

# bad

File.exists?(some_path)

Example:

# good

File.exist?(some_path)

There are no issues that match your filters.

Category
Status