We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 642bb9f commit 100048bCopy full SHA for 100048b
1 file changed
internal/main_test.go
@@ -23,7 +23,7 @@ func TestMain(m *testing.M) {
23
}
24
25
origHome := os.Getenv("HOME")
26
- _ = os.Setenv("HOME", dir)
+ _ = os.Setenv("HOME", dir) // skipcq: GO-W1032
27
28
// Override spinnerFunc with a mock to prevent data races from async goroutines
29
spinnerFunc = func(_ string) (spinner, error) {
@@ -37,7 +37,7 @@ func TestMain(m *testing.M) {
37
38
code := m.Run()
39
40
- _ = os.Setenv("HOME", origHome)
+ _ = os.Setenv("HOME", origHome) // skipcq: GO-W1032
41
42
if err := os.RemoveAll(dir); err != nil {
43
os.Exit(1)
0 commit comments