Skip to content

Commit

Permalink
Allow subfolders in the Actions folder (#15958)
Browse files Browse the repository at this point in the history
  • Loading branch information
loremattei committed Feb 10, 2020
1 parent 59909e2 commit 39afb4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/lib/fastlane/plugins/plugin_manager.rb
Expand Up @@ -373,7 +373,7 @@ def store_plugin_reference(gem_name)
# (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
Expand Down

0 comments on commit 39afb4d

Please sign in to comment.