lib/gemsmith/generators/reek.rb in gemsmith-11.2.0 vs lib/gemsmith/generators/reek.rb in gemsmith-11.3.0
- old
+ new
@@ -7,10 +7,10 @@
def run
return unless configuration.dig(:generate, :reek)
cli.uncomment_lines "#{gem_name}/Rakefile", /require.+reek.+/
cli.uncomment_lines "#{gem_name}/Rakefile", /Reek.+/
- cli.template "%gem_name%/.reek.tt", configuration
+ template "%gem_name%/.reek.tt"
end
end
end
end