fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.148.0 vs fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.148.1
- old
+ new
@@ -373,10 +373,10 @@
# (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).include?("/actions") # we only want to match actions
- File.basename(path).gsub("_action", "").gsub(".rb", "").to_sym # the _action is optional
+ File.basename(path).gsub(".rb", "").gsub(/_action$/, '').to_sym # the _action is optional
end
references.compact!
# Check if this overwrites a built-in action and
# show a warning if that's the case