lib/rubycritic/source_control_systems/base.rb in rubycritic-3.5.2 vs lib/rubycritic/source_control_systems/base.rb in rubycritic-4.0.0
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
+require 'English'
require 'shellwords'
module RubyCritic
module SourceControlSystem
class Base
@@ -19,11 +20,11 @@
supported_system = systems.find(&:supported?)
if supported_system
supported_system.new
else
puts 'RubyCritic can provide more feedback if you use '\
- "a #{connected_system_names} repository. "\
- 'Churn will not be calculated.'
+ "a #{connected_system_names} repository. "\
+ 'Churn will not be calculated.'
Double.new
end
end
def self.connected_system_names