lib/meowcop/cli.rb in meowcop-1.17.1 vs lib/meowcop/cli.rb in meowcop-1.18.0
- old
+ new
@@ -38,10 +38,10 @@
instance.public_send(action_name, args)
end
def init(_args)
- action = File.exist?(CONFIG_FILE_NAME) ? "overwrited" : "created"
+ action = File.exist?(CONFIG_FILE_NAME) ? "overwritten" : "created"
FileUtils.copy_file(config_file_path, CONFIG_FILE_NAME)
puts "Meow! #{CONFIG_FILE_NAME} has been #{action} successfully."
return 0
end