lib/gemsmith/generators/git_cop.rb in gemsmith-14.1.2 vs lib/gemsmith/generators/git_cop.rb in gemsmith-14.1.3
- old
+ new
@@ -5,10 +5,10 @@
# Generates Git Cop support.
class GitCop < Base
def run
return unless configuration.dig :generate, :git_cop
- cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+git\/cop.+)
+ cli.uncomment_lines "#{gem_name}/Rakefile", %r(require.+git/cop.+)
end
end
end
end