Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flag -e always fail #459

Closed
r0bj opened this issue Jun 12, 2020 · 2 comments
Closed

flag -e always fail #459

r0bj opened this issue Jun 12, 2020 · 2 comments
Labels
Milestone

Comments

@r0bj
Copy link

r0bj commented Jun 12, 2020

Describe the bug
Using flag -e causing always "Error: No matches found"

Input Yaml
data1.yml:

foo: bar

Command
The command you ran:

yq r data1.yml foo -e

Actual behavior

$ yq r data1.yml foo -e
Error: No matches found

Expected behavior

$ yq r data1.yml foo -e
bar

Additional context
The same command without -e works fine:

$ yq r data1.yml foo
bar
@r0bj r0bj added the bug label Jun 12, 2020
@mikefarah
Copy link
Owner

oh wow I don't know how I missed that 🤦

@mikefarah mikefarah added this to the 3.3.2 milestone Jun 12, 2020
@mikefarah
Copy link
Owner

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants