From a5f2b49a5126c35d19690f8c6030057d21bc571a Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 14 Dec 2020 11:58:58 +0300 Subject: [PATCH] Fix names filter --- xcode/commonFastfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 48b8c8a..4efcb84 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -112,7 +112,9 @@ private_lane :uploadFeaturesToProject do |options| project_features_file_path = File.expand_path "../#{app_target_folder_name}/Resources/Features.json" common_features_file_path = File.expand_path "../common/build_options/Features.yaml" - builder_features_list = options[:features].split(",").map { |feature_name| feature_name.strip } # [ "Feature1", "Feature2", "Feature3" ] + builder_features_list = options[:features] + .split(",").map { |feature_name| feature_name.strip } # [ "Feature1", "Feature2", "Feature3" ] + .reject { |feature_name| feature_name.empty? } Touchlane::Features.generate_features_file_in_project(builder_features_list, common_features_file_path, project_features_file_path) end