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

console.log('Node') #18

Open
Bubujka opened this issue Nov 10, 2016 · 1 comment
Open

console.log('Node') #18

Bubujka opened this issue Nov 10, 2016 · 1 comment

Comments

@Bubujka
Copy link

Bubujka commented Nov 10, 2016

Is it intended to always print "Node" in the bin/cli.js ?
https://github.com/krg7880/json-schema-generator/blob/master/bin/cli.js#L3

With this line its harder to use json-schema-generator in pipes:
I need to put "| tail -n +2" for receiving correct json document

cat package.json | json-schema-generator | tail -n +2 | json2yml
Instead of
cat package.json | json-schema-generator | json2yml

@mo
Copy link

mo commented Feb 2, 2017

Yes, very annoying. Looks like @krg7880 accidentally added it in a commit called called "Fixed test suite"

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