Skip to content

Commit

Permalink
fix: variable linting
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmmcgivern committed Sep 19, 2023
1 parent 958546b commit 4828494
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/install/validation/integration_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ func ValidateIntegration(integrationName string) (string, error) {
stderr := e.String()

if stderr != "" {
stderr := strings.TrimSpace(stderr)
s := strings.TrimSpace(stderr)

return "", fmt.Errorf("%w: %s", err, stderr)
return "", fmt.Errorf("%w: %s", err, s)
}

Check warning on line 70 in internal/install/validation/integration_validator.go

View check run for this annotation

Codecov / codecov/patch

internal/install/validation/integration_validator.go#L59-L70

Added lines #L59 - L70 were not covered by tests

return "", err

Check warning on line 72 in internal/install/validation/integration_validator.go

View check run for this annotation

Codecov / codecov/patch

internal/install/validation/integration_validator.go#L72

Added line #L72 was not covered by tests
Expand Down

0 comments on commit 4828494

Please sign in to comment.