Skip to content

Commit d7fa04d

Browse files
Merge pull request #993 from SlimeGames/dev
Removed deprecated extend function
2 parents 128b064 + 3d6a9b5 commit d7fa04d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/lib/lineage_hunter.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
'use strict';
2-
const extend = require('util')._extend;
32
const getPartial = require('./get');
43
const logger = require('./log');
54

@@ -57,7 +56,7 @@ const lineage_hunter = function() {
5756
}
5857

5958
ancestorPattern.lineageR.push(lr);
60-
extend(patternlab.graph.node(ancestorPattern), lr);
59+
Object.assign(patternlab.graph.node(ancestorPattern), lr);
6160
}
6261
}
6362
});

0 commit comments

Comments
 (0)