Commit d34f9df1 authored by Bryan Housel's avatar Bryan Housel

Ignore name suggestions if there is no corresponding preset

parent d197d223
......@@ -111,6 +111,11 @@ function suggestionsToPresets(presets) {
var tag = category.split('/'),
parent = presets[tag[0] + '/' + tag[1]];
if (!parent) {
console.log('WARN: no preset for suggestion = ' + tag);
presets[category] = {
tags: parent.tags ? _.merge(tags, parent.tags) : tags,
name: name,
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment