Skip to content

Commit c58fc85

Browse files
committed
remove gosec exemption flag for fix
Signed-off-by: Jordan Dubrick <[email protected]>
1 parent 10b01bc commit c58fc85

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

registry-library/library/util.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ func decompress(targetDir string, tarFile string, excludeFiles []string) error {
122122
return returnedErr
123123
}
124124
case tar.TypeReg:
125-
/* #nosec G304 -- target is produced using path.Join which cleans the dir path */
126125
w, err := os.OpenFile(target, os.O_CREATE|os.O_RDWR, os.FileMode(header.Mode))
127126
if err != nil {
128127
returnedErr = multierror.Append(returnedErr, err)

0 commit comments

Comments
 (0)