Skip to content

Commit

Permalink
fix: deconstruction does not work in Node 5
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Oct 19, 2016
1 parent e2f0a16 commit 05ca10e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ module.exports = function(source) {
}
return value;
}
entries(vars).map(([key, value]) => {
entries(vars).map((entry) => {
const key = entry[0];
const value = entry[1];
vars[key] = followVar(value);
});
}
Expand Down

0 comments on commit 05ca10e

Please sign in to comment.