Skip to content

Commit

Permalink
Always create state dir
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Dec 23, 2024
1 parent 7d2d3d9 commit c124a53
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkg/atmos/aws-component-helper/x_test_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,13 @@ func (ts *XTestSuites) Run(t *testing.T, options *atmos.Options) {
fmt.Println("Skip Vendor Pull")
}

err := createStateDir(ts.TempDir)
assert.NoError(t, err)
if !*skipTmpDir {
err := createStateDir(ts.TempDir)
assert.NoError(t, err)
} else {
err := createStateDir(ts.SourceDir)
assert.NoError(t, err)
}

if *runParallel {
fmt.Println("Run suites in parallel mode")
Expand Down

0 comments on commit c124a53

Please sign in to comment.