Skip to content

Commit

Permalink
using object.keys incorrectly like a dummy. fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
snapwich committed Nov 29, 2017
1 parent 131fc7c commit aad02be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function newConfig() {
*/
function getConfig(...args) {
// deep merge config with defaults
let configWithDefaults = Object.assign({}, defaults, config).keys().reduce((memo, key) => {
let configWithDefaults = Object.keys(Object.assign({}, defaults, config)).reduce((memo, key) => {
let c = config[key];
let d = defaults[key];

Expand Down

0 comments on commit aad02be

Please sign in to comment.