Skip to content

Commit

Permalink
Make description required
Browse files Browse the repository at this point in the history
  • Loading branch information
BrainMaestro committed Mar 14, 2017
1 parent b95e077 commit 558914f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/plugins/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const VALID_TYPES = new Set([
])

const isValidSetting = setting => {
const { type, options } = setting
if (!type || !VALID_TYPES.has(type)) {
const { type, description, options } = setting
if (!type || !VALID_TYPES.has(type) || !description) {
return false
}

Expand Down

0 comments on commit 558914f

Please sign in to comment.