json-schema-generator icon indicating copy to clipboard operation
json-schema-generator copied to clipboard

console.log('Node')

Open Bubujka opened this issue 9 years ago • 1 comments

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

Bubujka avatar Nov 10 '16 11:11 Bubujka

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

mo avatar Feb 02 '17 13:02 mo