Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
This line of code clobbers the --username flag when running the add s…
Browse files Browse the repository at this point in the history
…ub command
  • Loading branch information
John Boggs committed Apr 18, 2019
1 parent b1140c3 commit 2a56b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ func prerun(cmd *cobra.Command, args []string) {
BatchSize: 1,
})

username = os.Getenv("USER")
usr := os.Getenv("USER")
analyticsClient.Enqueue(analytics.Identify{
UserId: username,
UserId: usr,
Traits: analytics.NewTraits().
Set("aws-okta-version", version),
})
Expand Down

0 comments on commit 2a56b02

Please sign in to comment.