diff --git a/lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb b/lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb index ee43e8958..1fbd66406 100644 --- a/lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb +++ b/lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb @@ -193,7 +193,7 @@ def self.file_dependencies end end - files_to_copy.map { |o| o.file } + expanded_file_dependencies + files_to_copy.map(&:file) + expanded_file_dependencies end ## If we specify a directory in `file_dependencies` instead of listing each file diff --git a/lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb b/lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb index bbc41670b..c1bc33124 100644 --- a/lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb +++ b/lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb @@ -32,7 +32,7 @@ def to_hash project_name: project_name, branch: branch, pinned_hash: pinned_hash, - files_to_copy: files_to_copy.map { |f| f.to_hash }, + files_to_copy: files_to_copy.map(&:to_hash), file_dependencies: file_dependencies } end