Skip to content

Commit

Permalink
Merge pull request #162 from jacobherrington/fix-error-message-grammar
Browse files Browse the repository at this point in the history
Fix minor grammar concerns in console messages
  • Loading branch information
kennyadsl committed Jul 16, 2019
2 parents 6bb7f7c + cd3831e commit 9ba6d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/default/users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def create_admin_user
admin.generate_spree_api_key!
puts "Done!"
else
puts "There was some problems with persisting new admin user:"
puts "There were some problems with persisting a new admin user:"
admin.errors.full_messages.each do |error|
puts error
end
Expand All @@ -68,7 +68,7 @@ def create_admin_user
if Spree::User.admin.empty?
create_admin_user
else
puts 'Admin user has already been previously created.'
puts 'Admin user has already been created.'
puts 'Would you like to create a new admin user? (yes/no)'
if ["yes", "y"].include? STDIN.gets.strip.downcase
create_admin_user
Expand Down

0 comments on commit 9ba6d17

Please sign in to comment.