lib/eco/api/common/people/entry_factory.rb in eco-helpers-2.0.41 vs lib/eco/api/common/people/entry_factory.rb in eco-helpers-2.0.42
- old
+ new
@@ -164,10 +164,10 @@
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("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")
+ run = (response == "") || response.upcase.start_with?("Y")
end
end
if run
deps = {"supervisor_id" => {people: data}}