Skip to content

Commit

Permalink
Fix inheritance bug when using node@4 util.inherits
Browse files Browse the repository at this point in the history
  • Loading branch information
drobertduke committed Oct 9, 2017
1 parent 8ebcaf3 commit abc0e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-native-core/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ exports.makeClientConstructor = function(methods, serviceName,
Client.call(this, address, credentials, options);
}

ServiceClient.prototype.$method_descriptors = [];
util.inherits(ServiceClient, Client);
ServiceClient.prototype.$method_descriptors = [];

_.each(methods, function(attrs, name) {
var method_type;
Expand Down

0 comments on commit abc0e2b

Please sign in to comment.