Skip to content

Commit

Permalink
Make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
drewfead committed May 29, 2024
1 parent 3c5e7ee commit 47cd658
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions internal/shorthand/env_var.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,8 @@ func MapEnvToEnvConfig(input []shared.DeploymentV2Env) []shared.DeploymentConfig
output := make([]shared.DeploymentConfigV2Env, 0)

for _, config := range input {
newEnvVar := shared.DeploymentConfigV2Env{
Name: config.Name,
Value: config.Value,
}

output = append(output, newEnvVar)
output = append(output, shared.DeploymentConfigV2Env(config))
}

return output
}
}

0 comments on commit 47cd658

Please sign in to comment.