Skip to content

Commit 3378f80

Browse files
authored
fix: add small suggestion by lgtm
1 parent 2196801 commit 3378f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/repository/gitlab/gitlab.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (s gitlabService) Clone(url string, dir string) (err error) {
140140
}
141141

142142
// Extract archive to directory
143-
return s.extractTarGz(strings.NewReader(string(archiveData)), dir)
143+
return s.extractTarGz(bytes.NewReader(archiveData), dir)
144144
}
145145

146146
// This function receives a list of paths which can be gitlab projects or groups

0 commit comments

Comments
 (0)