-
-
Notifications
You must be signed in to change notification settings - Fork 125
Conversation
@@ -488,6 +494,7 @@ | |||
"releasedOn": "Feb 17, 2017", | |||
"challengeType": 0, | |||
"translations": {}, | |||
c/Url": "", |
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.
Here is your linting error
@beaucarnes You have some linting errors, also you will need to update the challengeSchema to allow the videoUrl property to be a string, Joi may allow you to check a vaild url also? If it takes more than a minute of looking up I wouldn't worry about it too much. |
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.
There have been some changes to the schema merged recently, you will need to rebase for those changes.
schema/challengeSchema.js
Outdated
@@ -29,6 +29,7 @@ const schema = Joi.object().keys({ | |||
}) | |||
), | |||
guideUrl: Joi.string().uri({ scheme: 'https' }), | |||
videoUrl: Joi.string(), |
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.
To allow for empty strings, this will need to be
Joi.string().allow('')
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.
CI failed on videoUrl: ''
Add vidoeUrl to repsponsive web design challenges. update schema fix schema and capitalization
ab32a2a
to
570470d
Compare
Nice work. Thanks @beaucarnes |
## [3.2.1](v3.2.0...v3.2.1) (2018-09-25) ### Bug Fixes * Add videoUrl field ([#298](#298)) ([ce3cc22](ce3cc22))
🎉 This PR is included in version 3.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Add vidoeUrl to responsive web design challenges.