fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.141.0 vs fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.142.0
- old
+ new
@@ -371,10 +371,10 @@
# We store a collection of the imported plugins
# This way we can tell which action came from what plugin
# (a plugin may contain any number of actions)
version_number = Fastlane::ActionCollector.determine_version(gem_name)
references = Fastlane.const_get(module_name).all_classes.collect do |path|
- next unless File.dirname(path).end_with?("/actions") # we only want to match actions
+ next unless File.dirname(path).include?("/actions") # we only want to match actions
File.basename(path).gsub("_action", "").gsub(".rb", "").to_sym # the _action is optional
end
references.compact!