Skip to content

Commit

Permalink
Merge pull request #11 from pavanvora/gh-workflow
Browse files Browse the repository at this point in the history
contracts must contain 1 item
  • Loading branch information
ashisherc authored Sep 17, 2023
2 parents 8669345 + f86d28d commit 1b14b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const schema = Joi.object({
"ORACLE"
),
description: Joi.string().max(140),
contracts: Joi.array().items(contractSchema),
contracts: Joi.array().items(contractSchema).min(1),
});

const files = fs
Expand Down

0 comments on commit 1b14b0d

Please sign in to comment.