mirror of https://github.com/grpc/grpc-node.git
refactor: replace _.assign with Object.assign
This commit is contained in:
parent
c9d4fbec0a
commit
f768445771
|
|
@ -950,7 +950,7 @@ exports.makeClientConstructor = function(methods, serviceName,
|
|||
}
|
||||
ServiceClient.prototype.$method_names[attrs.path] = name;
|
||||
// Associate all provided attributes with the method
|
||||
_.assign(ServiceClient.prototype[name], attrs);
|
||||
Object.assign(ServiceClient.prototype[name], attrs);
|
||||
if (attrs.originalName) {
|
||||
ServiceClient.prototype[attrs.originalName] =
|
||||
ServiceClient.prototype[name];
|
||||
|
|
|
|||
Loading…
Reference in New Issue