Skip to content

Commit

Permalink
Apply suggested change
Browse files Browse the repository at this point in the history
Co-Authored-By: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
golopot and ljharb committed May 9, 2019
1 parent 756a54c commit f7fa7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/sort-comp.js
Expand Up @@ -57,7 +57,7 @@ const defaultConfig = {
function getMethodsOrder(userConfig) {
userConfig = userConfig || {};

const groups = Object.assign(defaultConfig.groups, userConfig.groups);
const groups = Object.assign({}, defaultConfig.groups, userConfig.groups);
const order = userConfig.order || defaultConfig.order;

let config = [];
Expand Down

0 comments on commit f7fa7c5

Please sign in to comment.