Skip to content

Commit

Permalink
Update run.go
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Apr 16, 2024
1 parent dadea75 commit de92ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/packages/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ var runCmd = &cobra.Command{
posthog.NewProperties().
Set("secretsCount", len(secrets)).
Set("environment", environmentName).
Set("isUsingServiceToken", token.Type == util.SERVICE_TOKEN_IDENTIFIER).
Set("isUsingUniversalAuthToken", token.Type == util.UNIVERSAL_AUTH_TOKEN_IDENTIFIER).
Set("isUsingServiceToken", token != nil && token.Type == util.SERVICE_TOKEN_IDENTIFIER).
Set("isUsingUniversalAuthToken", token != nil && token.Type == util.UNIVERSAL_AUTH_TOKEN_IDENTIFIER).
Set("single-command", strings.Join(args, " ")).
Set("multi-command", cmd.Flag("command").Value.String()).
Set("version", util.CLI_VERSION))
Expand Down

0 comments on commit de92ba1

Please sign in to comment.