fix typo in a comment

This commit is contained in:
Giorgio Gallo 2023-04-23 04:17:17 +02:00
parent bbe3055006
commit c794a5d91c

View File

@ -15,7 +15,7 @@ func readStream(filename string) (io.Reader, error) {
reader = bufio.NewReader(os.Stdin) reader = bufio.NewReader(os.Stdin)
} else { } else {
// ignore CWE-22 gosec issue - that's more targeted for http based apps that run in a public directory, // ignore CWE-22 gosec issue - that's more targeted for http based apps that run in a public directory,
// and ensuring that it's not possible to give a path to a file outside thar directory. // and ensuring that it's not possible to give a path to a file outside that directory.
file, err := os.Open(filename) // #nosec file, err := os.Open(filename) // #nosec
if err != nil { if err != nil {
return nil, err return nil, err