There was an error while loading. Please reload this page.
1 parent 2f2b536 commit a5f8813Copy full SHA for a5f8813
1 file changed
internal/utils/copyfile.go
@@ -15,6 +15,7 @@ func CopyFile(src, dst string) error {
15
if err != nil {
16
return fmt.Errorf("reading from %s: %v", src, err)
17
}
18
+ // #nosec G703
19
if err := os.WriteFile(dst, b, stat.Mode()); err != nil {
20
return fmt.Errorf("writing to %s: %v", dst, err)
21
0 commit comments