This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(index): resolve schemas relative to
__dirname
(#536)
- Loading branch information
1 parent
0271b39
commit 8766821
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8766821
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you so much, this was breaking the whole internet for half an hour.
8766821
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to require schemas. Validate options support first argument to be object (JSON-schema)
8766821
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vladik7244 I wanted trying to fix it in
schema-utils
first, but since it's not critical anymore, feel free to send a 'style' PR with a cleaner solution :), either here or inschema-utils
or in both :D