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

Remove extension test #5

Open
NPellet opened this issue Sep 30, 2022 · 1 comment
Open

Remove extension test #5

NPellet opened this issue Sep 30, 2022 · 1 comment

Comments

@NPellet
Copy link

NPellet commented Sep 30, 2022

I would remove this test:

https://github.com/ralucas/json-to-env/blob/master/lib/index.js#L48

Without it, I could do something like json-to-env <<<"${myjsonvar}"

Or echo "{}" | json-to-env /dev/stdin

which would be very practical in case the json is in a variable

@ralucas
Copy link
Owner

ralucas commented Sep 30, 2022

Do you want to create a PR for this with a test?

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

No branches or pull requests

2 participants