Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Refine conditional for analyticsKey in analyticsd
Browse files Browse the repository at this point in the history
  • Loading branch information
aemengo committed Nov 26, 2018
1 parent 21ed767 commit 1b35a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyticsd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func main() {
}

var analytixKey string
if len(os.Args) > 1 && os.Args[1] == "debug" || analyticsKey == "" {
if (len(os.Args) > 1 && os.Args[1] == "debug") || analyticsKey == "" {
analytixKey = testAnalyticsKey
} else {
analytixKey = analyticsKey
Expand Down

0 comments on commit 1b35a82

Please sign in to comment.