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

Fix #1610. Now the epics are overridable #1614

Merged
merged 2 commits into from
Mar 21, 2017

Conversation

offtherailz
Copy link
Member

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 77.083% when pulling dce3a41 on offtherailz:epics_override into e017f1d on geosolutions-it:master.

@offtherailz offtherailz requested a review from mbarto March 21, 2017 08:25
@@ -120,15 +120,15 @@ const getPluginItems = (state, plugins, pluginsConfig, name, id, isDefault, load
const getReducers = (plugins) => Object.keys(plugins).map((name) => plugins[name].reducers)
.reduce((previous, current) => assign({}, previous, current), {});
const getEpics = (plugins) => Object.keys(plugins).map((name) => plugins[name].epics)
.reduce((previous = [], current = []) => [ ...previous, ...current], []);
.reduce((previous = [], current = []) => assign({}, previous, current), {});
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need default values for reduce params. Moreover both should be empty objects, not array

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch

@coveralls
Copy link

Coverage Status

Coverage remained the same at 77.113% when pulling b19b1f0 on offtherailz:epics_override into e017f1d on geosolutions-it:master.

@offtherailz offtherailz merged commit 61308eb into geosolutions-it:master Mar 21, 2017
@offtherailz offtherailz deleted the epics_override branch March 21, 2018 08:57
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