Comparison

util/prosodyctl/check.lua @ 13747:c25ab2f47876 13.0

prosodyctl: check features: stop searching after finding a matching component
author Matthew Wild <mwild1@gmail.com>
date Sat, 22 Feb 2025 09:35:04 +0000
parent 13727:704765bfe0a3
comparison
equal deleted inserted replaced
13745:994ea8d54b72 13747:c25ab2f47876
1629 component_module = component_module; 1629 component_module = component_module;
1630 missing_mods = missing_mods; 1630 missing_mods = missing_mods;
1631 }); 1631 });
1632 end 1632 end
1633 end 1633 end
1634 break;
1634 end 1635 end
1635 end 1636 end
1636 if not found then 1637 if not found then
1637 current_feature.lacking_components = current_feature.lacking_components or {}; 1638 current_feature.lacking_components = current_feature.lacking_components or {};
1638 table.insert(current_feature.lacking_components, suggested); 1639 table.insert(current_feature.lacking_components, suggested);