houston/houston-core

View on GitHub
templates/new-module/rails/boot.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
Severity: Minor
Found in templates/new-module/rails/boot.rb by rubocop

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