Skip to content

Commit

Permalink
Another node v6 fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgul committed Mar 9, 2019
1 parent c582790 commit f4b7aa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/defaultScope.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ const defaultScope = {
module.exports = {
buildDefaultScope(scope)
{
return { ...defaultScope, ...scope };
/* eslint-disable prefer-object-spread */
return Object.assign({}, defaultScope, scope);
},
defaultScope
}; // end exports
Expand Down

0 comments on commit f4b7aa1

Please sign in to comment.