krg7880 / json-schema-generator

Generates draft v4 schema from a local file or a remote JSON url.
MIT License
174 stars 53 forks source link

console.log('Node') #18

Open Bubujka opened 7 years ago

Bubujka commented 7 years ago

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 commented 7 years ago

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