lib/codelog/command/setup.rb in codelog-0.6.0 vs lib/codelog/command/setup.rb in codelog-0.7.0
- old
+ new
@@ -43,10 +43,10 @@
system! "cp #{HEADER_FILE_PATH} changelogs/header.txt"
end
def handle_existing_changelog
return unless old_changelog_exists?
- if yes? Codelog::Message::Warning.mantain_versioning_of_existing_changelog?
+ if yes? Codelog::Message::Warning.maintain_versioning_of_existing_changelog?
puts '== Copying existing changelog to releases folder =='
copy_and_mark_changelog
elsif yes? Codelog::Message::Warning.delete_existing_changelog?
puts '== Deleting existing changelog =='
system! "rm #{CHANGELOG_DEFAULT_PATH}"