Skip to content

Adds method to remove file references from target - Issue 523 - #801

Open
MSandel wants to merge 2 commits into
CocoaPods:masterfrom
MSandel:feature/remove-file-references-from-target
Open

Adds method to remove file references from target - Issue 523#801
MSandel wants to merge 2 commits into
CocoaPods:masterfrom
MSandel:feature/remove-file-references-from-target

Conversation

@MSandel

@MSandel MSandel commented Dec 24, 2020

Copy link
Copy Markdown

Fixes #523

@CocoaPodsBarista

Copy link
Copy Markdown
1 Warning
⚠️ Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.

Here's an example of your CHANGELOG entry:

* Adds method to remove file references from target - Issue 523  
  [MSandel](https://github.com/MSandel)
  [#issue_number](https://github.com/CocoaPods/CocoaPods/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by 🚫 Danger

@dnkoutso

Copy link
Copy Markdown
Contributor

Hi there, thanks for the PR! Can you add some tests for this new functionality?

@dnkoutso

dnkoutso commented Jul 2, 2021

Copy link
Copy Markdown
Contributor

Can you please add a test? Thanks!

# from the target.
#
def remove_file_references(file_references)
file_references.map do |file|

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why map and not. each? the method doc above does not denote a return type.

@dnkoutso

Copy link
Copy Markdown
Contributor

ping @MSandel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove file from a target

3 participants