Fix names filter
This commit is contained in:
parent
2712da9b89
commit
a5f2b49a51
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue