mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-24 14:45:39 +00:00
e5cc57bedf
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. |
||
---|---|---|
.. | ||
constant.go | ||
evaluate_all_command.go | ||
evaluate_sequence_command.go | ||
root.go | ||
shell-completion.go | ||
unwrap_flag.go | ||
utils.go | ||
version_test.go | ||
version.go |