From da39684086e99326ee77905dab7aba2d407d6a95 Mon Sep 17 00:00:00 2001 From: Ian Maia Date: Thu, 1 Feb 2024 17:31:22 +0100 Subject: [PATCH] Run Rubocop -A after rebase --- .../plugin/wpmreleasetoolkit/helper/configure_helper.rb | 2 +- lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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