Skip to content

Running whoami returns null after authenticating #1

@joshiefishbein

Description

@joshiefishbein

Describe the bug
When I run the whoami command, the CLI thinks for a moment and returns Hello... null!. This function may be looking for info I haven't added yet and needs a better fallback.

To Reproduce
Steps to reproduce the behavior:

  1. Install CLI
  2. Run spirit-fish authenticate
  3. Authenticate via Chrome browser
  4. Run spirit-fish whoami

Expected behavior
I expected to see my github username or primary github email address.

Screenshots
Screen Shot 2020-11-30 at 12 23 14 PM

Desktop (please complete the following information):

  • Late-2016 MBP 15"
  • OS: MacOS 10.15.7
  • Version: 0.0.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions