cmd/config linter updates

This commit is contained in:
Katrina Verey
2022-03-29 18:50:40 -04:00
parent 1567b96ed3
commit ff4136b1a2
24 changed files with 178 additions and 138 deletions

View File

@@ -17,9 +17,13 @@ import (
)
func TestMain(m *testing.M) {
d := build()
defer os.RemoveAll(d)
os.Exit(m.Run())
var code int
func() {
d := build()
defer os.RemoveAll(d)
code = m.Run()
}()
os.Exit(code)
}
type test struct {