mirror of
https://github.com/securego/gosec.git
synced 2025-11-27 22:28:20 +02:00
Fileperms (#442)
This commit is contained in:
@@ -55,7 +55,7 @@ func (p *TestPackage) write() error {
|
||||
for filename, content := range p.Files {
|
||||
if e := ioutil.WriteFile(filename, []byte(content), 0644); e != nil {
|
||||
return e
|
||||
}
|
||||
} // #nosec G306
|
||||
}
|
||||
p.ondisk = true
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user