Skip to content

Commit

Permalink
chore: Make golinter happy
Browse files Browse the repository at this point in the history
Signed-off-by: Mikołaj Baranowski <mikolajb@gmail.com>
  • Loading branch information
mikolajb committed Mar 31, 2023
1 parent e2bbb95 commit e1af6b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion catalog/precommit/dagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"io"

"dagger.io/dagger"

"github.com/mesosphere/daggers/daggers"
"github.com/mesosphere/daggers/daggers/containers"
)
Expand All @@ -32,7 +33,10 @@ func Run(ctx context.Context, runtime *daggers.Runtime, opts ...daggers.Option[c
}

var (
url = fmt.Sprintf("https://github.com/pre-commit/pre-commit/releases/download/v%[1]s/pre-commit-%[1]s.pyz", precommitVersion)
url = fmt.Sprintf(
"https://github.com/pre-commit/pre-commit/releases/download/v%[1]s/pre-commit-%[1]s.pyz",
precommitVersion,
)
dest = fmt.Sprintf("/usr/local/bin/pre-commit-%s.pyz", precommitVersion)
envFn = containers.WithEnvVariables(cfg.Env)
customizers = []containers.ContainerCustomizerFn{envFn}
Expand Down

0 comments on commit e1af6b8

Please sign in to comment.