diff --git a/src/pipeleak/scanner/gitlab.go b/src/pipeleak/scanner/gitlab.go index 85e371c..8312ef4 100644 --- a/src/pipeleak/scanner/gitlab.go +++ b/src/pipeleak/scanner/gitlab.go @@ -135,7 +135,6 @@ func getJobArtifacts(git *gitlab.Client, project *gitlab.Project, job *gitlab.Jo } else { log.Debug().Msg("Skipping non-text artifact file scan for " + file.Name) } - content = []byte{} fc.Close() }