We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd64918 + 33d51a5 commit 28dffc6Copy full SHA for 28dffc6
build/build.go
@@ -20,5 +20,5 @@ func (b Build) IsRelease() bool {
20
}
21
22
func (b Build) IsUsageReportingEnabled() bool {
23
- return enableUsageReporting == "true"
+ return b.IsRelease() && enableUsageReporting == "true"
24
0 commit comments