mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 09:04:02 +02:00
fix: build.js tests wrong fields in validatePresetFields()
validatePresetFields() tested old fields from file, not newly aggregated ones
This commit is contained in:
@@ -177,8 +177,6 @@ function validateCategoryPresets(categories, presets) {
|
||||
}
|
||||
|
||||
function validatePresetFields(presets, fields) {
|
||||
var presets = rp('presets.json'),
|
||||
fields = rp('fields.json');
|
||||
_.forEach(presets, function(preset) {
|
||||
if (preset.fields) {
|
||||
preset.fields.forEach(function(field) {
|
||||
|
||||
Reference in New Issue
Block a user