1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-03 00:27:05 +02:00

Remove space between // and #nosec in examples and internal use

Comments intended for machines to read do not have the space by
convention.
This commit is contained in:
Ville Skyttä
2021-12-15 20:31:14 +02:00
committed by GitHub
parent 35af340d07
commit d23ab2d997
8 changed files with 34 additions and 34 deletions

View File

@ -55,7 +55,7 @@ func (p *TestPackage) write() error {
for filename, content := range p.Files {
if e := ioutil.WriteFile(filename, []byte(content), 0o644); e != nil {
return e
} // #nosec G306
} //#nosec G306
}
p.onDisk = true
return nil