Skip to content

Commit

Permalink
Merge pull request #11 from Jeffrey-Zutt/fix/lint-issues
Browse files Browse the repository at this point in the history
fix: lint issues
  • Loading branch information
okkevandereijk authored Sep 11, 2023
2 parents 5b5aaf6 + c4b98fc commit 37e5c7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,19 @@ func (c *ProjectConfig) extendConfig(o *ProjectConfig) *ProjectConfig {
cfg.GitRepository = c.GitRepository
}

if c.ProtectionBypassForAutomation != true {
if !c.ProtectionBypassForAutomation {
cfg.ProtectionBypassForAutomation = c.ProtectionBypassForAutomation
}

if c.VercelAuthentication.ProtectProduction != true {
if !c.VercelAuthentication.ProtectProduction {
cfg.VercelAuthentication.ProtectProduction = c.VercelAuthentication.ProtectProduction
}

if c.PasswordProtection.Password != "" {
cfg.PasswordProtection.Password = c.PasswordProtection.Password
}

if c.PasswordProtection.ProtectProduction != true {
if !c.PasswordProtection.ProtectProduction {
cfg.PasswordProtection.ProtectProduction = c.PasswordProtection.ProtectProduction
}

Expand Down

0 comments on commit 37e5c7e

Please sign in to comment.