fix all descriptions

This commit is contained in:
Tony Brix 2017-05-06 13:38:45 -05:00
parent 3d490658e1
commit 20299459c9
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ buildOptionsForBeautifiers = function(beautifiers, allLanguages) {
optionDef = ref16[o];
optionDef.beautifiers = _.uniq(optionDef.beautifiers)
if (optionDef.beautifiers.length > 0) {
optionDef.description = optionDef.description + " (Supported by " + (optionDef.beautifiers.join(', ')) + ")";
optionDef.description = (optionDef.description || "") + " (Supported by " + (optionDef.beautifiers.join(', ')) + ")";
} else {
unsupportedOptions.push(g + ".properties." + o);
}