Skip to content

Commit cf3854d

Browse files
remove use of deprecated Result boolean overload
1 parent 54628b5 commit cf3854d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/json-schema-eval

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if ($opt->dump_identifiers) {
128128
say $encoder->encode(\%identifiers);
129129
}
130130

131-
exit($result ? 0 : $result->exception ? 2 : 1);
131+
exit($result->valid ? 0 : $result->exception ? 2 : 1);
132132

133133
__END__
134134

0 commit comments

Comments
 (0)