We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88fc808 commit 34121ceCopy full SHA for 34121ce
lib/JSON/Schema/Modern/Document.pm
@@ -177,7 +177,7 @@ sub BUILD ($self, $args) {
177
$self->_add_resource($key => $value);
178
179
# we're adding a non-anchor entry for the document root
180
- ++$seen_root if $value->{path} eq '' and $key !~ /#./
+ ++$seen_root if $value->{path} eq '';
181
}
182
183
$self->_add_resource($original_uri.'' => {
0 commit comments