yq/cmd
Alessandro Di Stefano e5cc57bedf
Do not panic when StdIn is closed (#1867)
When the shell executing yq has no open stdin, os.Stdin.Stat() return nil and yq fails to continue. This commit fixes a missing verification on the result of os.Stdin.Stat() in the utils.processStdInArgs function and adds an acceptance test to cover this scenario in the future. This bug affects yq since version 4.26.1.
2023-11-18 12:20:12 +11:00
..
constant.go Add `--nul-output|-0` flag to separate element with NUL character (#1550) 2023-03-29 09:51:55 +11:00
evaluate_all_command.go Spellig with cspell 2023-09-19 10:43:11 +10:00
evaluate_sequence_command.go Fix typos (#1798) 2023-09-26 14:18:18 +10:00
root.go Spellig with cspell 2023-09-19 10:43:11 +10:00
shell-completion.go Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#1380) 2022-10-17 15:15:19 +11:00
unwrap_flag.go Spellig with cspell 2023-09-19 10:43:11 +10:00
utils.go Do not panic when StdIn is closed (#1867) 2023-11-18 12:20:12 +11:00
version_test.go Clean up cli help doc, add github and doc links 2021-07-09 14:58:09 +10:00
version.go Bumping version 2023-11-08 09:35:43 +11:00