Skip to content

Commit abc0e2b

Browse files
committed
Fix inheritance bug when using node@4 util.inherits
1 parent 8ebcaf3 commit abc0e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-native-core/src/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -777,8 +777,8 @@ exports.makeClientConstructor = function(methods, serviceName,
777777
Client.call(this, address, credentials, options);
778778
}
779779

780-
ServiceClient.prototype.$method_descriptors = [];
781780
util.inherits(ServiceClient, Client);
781+
ServiceClient.prototype.$method_descriptors = [];
782782

783783
_.each(methods, function(attrs, name) {
784784
var method_type;

0 commit comments

Comments
 (0)