mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Flows lib honours flowFilePretty setting (#837)
* Flow lib now adheres to pretty flow file, ui also adheres to this as well * added settings mock object in flows_spec get api test * reverted api changes, fixed parse of flow only * try spell flows correctly
This commit is contained in:
@@ -37,6 +37,10 @@ module.exports = {
|
||||
safeSettings.paletteCategories = settings.paletteCategories;
|
||||
}
|
||||
|
||||
if (settings.flowFilePretty) {
|
||||
safeSettings.flowFilePretty = settings.flowFilePretty;
|
||||
}
|
||||
|
||||
res.json(safeSettings);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user