We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c859aa3 commit d11b215Copy full SHA for d11b215
1 file changed
core/core.go
@@ -326,11 +326,7 @@ func getUserAgent(config config.Config) string {
326
}
327
328
func getAuthHeader(config config.Config) string {
329
- auth_header := config.Get("BAZELISK_AUTH_HEADER")
330
- if len(auth_header) > 0 {
331
- return auth_header
332
- }
333
- return ""
+ return config.Get("BAZELISK_AUTH_HEADER")
334
335
336
// GetBazelVersion returns the Bazel version that should be used.
0 commit comments