Skip to content

Commit

Permalink
fix: use RemoveAll not remove so it doesnt error every time
Browse files Browse the repository at this point in the history
Signed-off-by: Kit Patella <[email protected]>
  • Loading branch information
mkcp committed Sep 25, 2024
1 parent 4283faf commit cd5fdc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/external/ext_out_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (suite *ExtOutClusterTestSuite) Test_2_DeployGitOps() {
deployArgs = []string{"package", "deploy", path, "--confirm"}
err = exec.CmdWithPrint(zarfBinPath, deployArgs...)
suite.NoError(err)
err = os.Remove(temp)
err = os.RemoveAll(temp)
suite.NoError(err, "unable to remove tempdir")
}

Expand Down

0 comments on commit cd5fdc7

Please sign in to comment.