mirror of
https://github.com/moby/buildkit.git
synced 2026-11-06 05:16:45 +00:00
Linter incorectly suggests using t.SetEnv, but we need to unset the
env-var;
level=warning msg="[runner/exclusion_rules] Skipped 0 issues by rules: [Path: \".*\\\\.pb\\\\.go$\", Linters: \"gofmt, goimports\"]"
cmd/buildctl/build/opt_test.go:89:25: os.Setenv() could be replaced by t.Setenv() in TestParseOpt (usetesting)
t.Cleanup(func() { os.Setenv(k, v) })
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>