Skip to content

Commit

Permalink
Fix the mistake with tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyBelym committed Jan 30, 2019
1 parent 465d91a commit c20d076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -118,7 +118,7 @@ export default {
];

return capabilitiesFromEnvironment
.filter(tuple => tuple.value !== void 0)
.filter(nameValueTuple => nameValueTuple[1] !== void 0)
.reduce((result, [name, value]) => {
result[name] = value;

Expand Down

0 comments on commit c20d076

Please sign in to comment.