Skip to content

Use .find instead of .filter to get targetPath in ImportInjector#10608

Merged
jridgewell merged 1 commit intomasterfrom
Andarist-patch-1
Oct 27, 2019
Merged

Use .find instead of .filter to get targetPath in ImportInjector#10608
jridgewell merged 1 commit intomasterfrom
Andarist-patch-1

Conversation

@Andarist
Copy link
Copy Markdown
Member

Q                       A
Fixed Issues? N/A
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

I've committed this directly from GitHub (so haven't run tests myself) but the change is straightforward and .find is available on supported node versions so fingers crossed 😉

@Andarist Andarist added area: perf PR: Internal 🏠 A type of pull request used for our changelog categories PR: Ready For Review labels Oct 27, 2019
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung left a comment

Choose a reason for hiding this comment

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

Good catch.

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

Labels

area: perf outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories PR: Ready For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants