Skip to content

Commit a5f8813

Browse files
committed
gosec
1 parent 2f2b536 commit a5f8813

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/utils/copyfile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ func CopyFile(src, dst string) error {
1515
if err != nil {
1616
return fmt.Errorf("reading from %s: %v", src, err)
1717
}
18+
// #nosec G703
1819
if err := os.WriteFile(dst, b, stat.Mode()); err != nil {
1920
return fmt.Errorf("writing to %s: %v", dst, err)
2021
}

0 commit comments

Comments
 (0)