lib/uffizzi/cli/project.rb in uffizzi-cli-2.1.3 vs lib/uffizzi/cli/project.rb in uffizzi-cli-2.1.4
- old
+ new
@@ -53,10 +53,10 @@
end
private
def run(command, project_slug: nil)
- Uffizzi::AuthHelper.check_login(options[:project])
+ raise Uffizzi::Error.new('You are not logged in. Run `uffizzi login`.') unless Uffizzi::AuthHelper.signed_in?
case command
when 'list'
handle_list_command
when 'set-default'