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 Feb 1, 2019
1 parent d93110c commit 28d6683
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 28d6683

Please sign in to comment.