Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTERNAL] LocatorResourcePool: pass through constructor arguments #509

Merged
merged 2 commits into from
Aug 28, 2020

Conversation

tobiasso85
Copy link
Contributor

@tobiasso85 tobiasso85 commented Aug 28, 2020

ignoreMissingModules parameter is passed along now when creating
a new LocatorResourcePool

works in combination with #479 and #481

ignoreMissingModules parameter is passed along now when creating
a new LocatorResourcePool
@coveralls
Copy link

coveralls commented Aug 28, 2020

Coverage Status

Coverage decreased (-0.001%) to 92.577% when pulling e5f88ac on locator-resource-pool-ctor-params into 7416a97 on master.

@tobiasso85 tobiasso85 self-assigned this Aug 28, 2020
@@ -3,8 +3,8 @@ const LocatorResource = require("./LocatorResource");


class LocatorResourcePool extends ResourcePool {
constructor() {
super();
constructor(parameters) {
Copy link
Member

Choose a reason for hiding this comment

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

AFAIK you can also just completely remove the constructor.

Copy link
Contributor Author

@tobiasso85 tobiasso85 Aug 28, 2020

Choose a reason for hiding this comment

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

kk (y) that's even better, I give it a try e5f88ac

remove constructor because it does not do anything extra
@tobiasso85 tobiasso85 requested a review from matz3 August 28, 2020 15:01
@tobiasso85 tobiasso85 merged commit 6b529f9 into master Aug 28, 2020
@tobiasso85 tobiasso85 deleted the locator-resource-pool-ctor-params branch August 28, 2020 15:40
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.

3 participants