lib/avm/ruby/rubocop.rb in avm-tools-0.110.0 vs lib/avm/ruby/rubocop.rb in avm-tools-0.111.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true require 'eac_ruby_utils/core_ext' -require 'eac_ruby_utils/on_clean_ruby_environment' +require 'eac_ruby_utils/ruby/on_clean_environment' module Avm module Ruby class Rubocop require_sub __FILE__ @@ -36,16 +36,16 @@ def rubocop_command_with_args rubocop_command.append(rubocop_args) end def rubocop_version_uncached - ::EacRubyUtils.on_clean_ruby_environment do + ::EacRubyUtils::Ruby.on_clean_environment do rubocop_command.append(['--version']).execute!.strip end end def run_rubocop - ::EacRubyUtils.on_clean_ruby_environment { rubocop_command_with_args.system } + ::EacRubyUtils::Ruby.on_clean_environment { rubocop_command_with_args.system } end def start_banner infov 'Rubocop version', rubocop_version end