lib/eco/api/common/people/entry_factory.rb in eco-helpers-2.0.24 vs lib/eco/api/common/people/entry_factory.rb in eco-helpers-2.0.25
- old
+ new
@@ -162,10 +162,10 @@
fatal("Format should be a Symbol. Given '#{format}'") if format && !format.is_a?(Symbol)
fatal("There is no parser/serializer for format ':#{format.to_s}'") unless @person_parser.defined?(format)
run = true
if Eco::API::Common::Session::FileManager.file_exists?(file)
- prompt_user("The file '#{file}' already exists. Do you want to overwrite it? (Y/n):", default: "Y") do |response|
+ prompt_user("Do you want to overwrite it? (Y/n):", explanation: "The file '#{file}' already exists.", default: "Y") do |response|
run = (response == "") || reponse.upcase.start_with?("Y")
end
end
if run