Skip to content

Commit 41a3bd4

Browse files
authored
Merge pull request rubocop#47 from rubocop/fix-edge-offences
Fix edge offences
2 parents 7a26689 + eb6ac5e commit 41a3bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/cut_release.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace :cut_release do
3838
def add_header_to_changelog(version)
3939
update_file('CHANGELOG.md') do |changelog|
4040
changelog.sub("## Master (Unreleased)\n\n",
41-
'\0' "## #{version} (#{Time.now.strftime('%F')})\n\n")
41+
"\\0## #{version} (#{Time.now.strftime('%F')})\n\n")
4242
end
4343
end
4444

0 commit comments

Comments
 (0)