Skip to content

Commit 22f220e

Browse files
committed
fix linter
1 parent 6dbff35 commit 22f220e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/e2e/e2e_helper.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ import (
1212
)
1313

1414
func RunTF(args ...string) (string, error) {
15+
ctx := context.Background()
16+
1517
// Ensure Atlas CLI storage warning is silenced before running tests as it is not enabled in GitHub Actions
16-
exec.Command("atlas", "config", "set", "silence_storage_warning", "true").Run()
18+
_ = exec.CommandContext(ctx, "atlas", "config", "set", "silence_storage_warning", "true").Run()
1719

1820
args = append([]string{"tf"}, args...)
19-
cmd := exec.CommandContext(context.Background(), "atlas", args...)
21+
cmd := exec.CommandContext(ctx, "atlas", args...)
2022
resp, err := cmd.CombinedOutput()
2123
return string(resp), err
2224
}

0 commit comments

Comments
 (0)