lib/faastruby/cli/commands/account/signup.rb in faastruby-0.5.12 vs lib/faastruby/cli/commands/account/signup.rb in faastruby-0.5.13

- old
+ new

@@ -30,13 +30,13 @@ password = STDIN.noecho(&:gets).chomp end spinner = spin("Creating your account...") user = User.create(email: email, password: password) if user.errors.any? - spinner.stop(" Failed :(") + spinner.error FaaStRuby::CLI.error(user.errors) end - spinner.stop(' Done!') + spinner.success exec("faastruby confirm-account --email #{email}") exit 0 end def email_is_valid?(email)