Skip to content

Don't strip `COMMAND_TEMPLATE` or `SPEC_TEMPLATE`

Robert Speicher requested to merge rs-dont-strip-templates into master

Prior, RuboCop would fail on the files it generated with:

Inspecting 47 files
.....................C..............C..........

Offenses:

spec/chatops/commands/foo_spec.rb:9:4: C: Layout/TrailingBlankLines: Final newline missing.
end

lib/chatops/commands/foo.rb:26:4: C: Layout/TrailingBlankLines: Final newline missing.
end


47 files inspected, 2 offenses detected

Merge request reports

Loading