Skip to content

Fixes #244 - try parsing as JSON if filename is a named pipe/fifo#246

Open
DavidBiesack wants to merge 7 commits intoajv-validator:masterfrom
DavidBiesack:issue-244
Open

Fixes #244 - try parsing as JSON if filename is a named pipe/fifo#246
DavidBiesack wants to merge 7 commits intoajv-validator:masterfrom
DavidBiesack:issue-244

Conversation

@DavidBiesack
Copy link

Also fixes issue #245

Fixes issue ajv-validator#244

Default to parsing JSON if filename (a named fifo) is passed
that does not have a recognized extension - parse rather than
return `{}` for the schema, which accepts all input.

Added code to allow tsc to compile without error when accessing
`err.message` etc.
@DavidBiesack
Copy link
Author

See also #242 which addresses #244 in a different way. I stumbled upon that after creating my PR. #242 was created a few months ago, not reviewed/merged...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant