ketanSaxena / schema-validator

Schema validation utility for YAML/JSON files against a pre defined schema
https://ketantechracers.github.io/schema-validator
MIT License
36 stars 17 forks source link

Unable to run `schema` on MacOS due to wrong line endings #22

Closed maritaria closed 2 years ago

maritaria commented 2 years ago

The schema bin file uses windows style line endings (\r\n) and this breaks attempts to use the package on non-windows systems. The edge case here is that npm performs conversion of \r\n to \n for "bins" files, but yarn does not.