We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f0cbba commit b6151d4Copy full SHA for b6151d4
src/core/plugins/spec/selectors.js
@@ -209,8 +209,7 @@ export const operationsWithRootInherited = createSelector(
209
],
210
(operations, consumes, produces) => {
211
return operations.map( ops => ops.update("operation", op => {
212
- if(op) {
213
- if(!Map.isMap(op)) { return }
+ if (Map.isMap(op)) {
214
return op.withMutations( op => {
215
if ( !op.get("consumes") ) {
216
op.update("consumes", a => Set(a).merge(consumes))
0 commit comments