Skip to content

Commit 791a782

Browse files
committed
fix(rawoutput): can be a string or a js object
1 parent 826aaf7 commit 791a782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const baseSchema = Joi.object().keys({
7575
issues: Joi.number().required(),
7676
errors: [Joi.array(), null],
7777
output: Joi.array().required(),
78-
rawOutput: Joi.string().required()
78+
rawOutput: [Joi.string().required(), Joi.object().required()]
7979
});
8080

8181
/* data loading */

0 commit comments

Comments
 (0)