Skip to content

Commit 3d6a9b5

Browse files
author
Josef Bredereck
committed
Removed deprecated extend function
1 parent 128b064 commit 3d6a9b5

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)