chore: update linter (#1367)

This commit is contained in:
Ludovic Fernandez 2021-03-04 20:16:59 +01:00 committed by GitHub
parent 2c0a8ff689
commit 52ad9d72e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
108 changed files with 239 additions and 217 deletions

View file

@ -24,7 +24,7 @@ func TestMain(m *testing.M) {
func applyEnv(envVars map[string]string) {
for key, value := range envVars {
if len(value) == 0 {
if value == "" {
os.Unsetenv(key)
} else {
os.Setenv(key, value)