mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-10 08:35:42 +00:00
fix typo in a comment
This commit is contained in:
parent
bbe3055006
commit
c794a5d91c
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user