Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in message from successful login #312

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/uffizzi/cli/login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def handle_token_success(response)
token = response[:body][:access_token]
Uffizzi::Token.delete
Uffizzi::Token.write(token)
Uffizzi.ui.say('Login successfull')
Uffizzi.ui.say('Login successful')

set_current_account_and_project
end
Expand All @@ -84,7 +84,7 @@ def handle_succeed_response(response, username)
ConfigFile.write_option(:server, @server)
ConfigFile.write_option(:username, username)
ConfigFile.write_option(:cookie, response[:headers])
Uffizzi.ui.say('Login successfull')
Uffizzi.ui.say('Login successful')

if ENV.fetch('CI_PIPELINE_RUN', false)
account = response[:body][:user][:default_account]
Expand Down