mirror of
https://github.com/securego/gosec.git
synced 2025-06-14 23:45:03 +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:
@ -1999,7 +1999,7 @@ func unzip(archive, target string) error {
|
||||
for _, file := range reader.File {
|
||||
path := filepath.Join(target, file.Name)
|
||||
if file.FileInfo().IsDir() {
|
||||
os.MkdirAll(path, file.Mode()) // #nosec
|
||||
os.MkdirAll(path, file.Mode()) //#nosec
|
||||
continue
|
||||
}
|
||||
|
||||
@ -2045,7 +2045,7 @@ func unzip(archive, target string) error {
|
||||
archiveFile := file.Name
|
||||
path := filepath.Join(target, archiveFile)
|
||||
if file.FileInfo().IsDir() {
|
||||
os.MkdirAll(path, file.Mode()) // #nosec
|
||||
os.MkdirAll(path, file.Mode()) //#nosec
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user