Skip to content

Commit

Permalink
fix gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Nov 1, 2023
1 parent 242e1bb commit c7e983b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xray/commands/audit/scarunner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func createEmptyDir(t *testing.T, path string) string {
func createEmptyFile(t *testing.T, path string) {
file, err := os.Create(path)
assert.NoError(t, err)
file.Close()
assert.NoError(t, file.Close())
}

func TestGetScaScansToPreform(t *testing.T) {
Expand Down

0 comments on commit c7e983b

Please sign in to comment.