Skip to content

Commit e83838f

Browse files
committed
grpc-protobufjs: small fixes
1 parent 02ae389 commit e83838f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/grpc-protobufjs/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ module.exports = function(grpc) {
2727

2828
let exports = {};
2929

30-
const protobuf_js_5_common = require('protobuf_js_5_common')(grpc);
31-
const protobuf_js_6_common = require('protobuf_js_6_common')(grpc);
30+
const protobuf_js_5_common = require('./protobuf_js_5_common')(grpc);
31+
const protobuf_js_6_common = require('./protobuf_js_6_common')(grpc);
3232

3333
/**
3434
* Default options for loading proto files into gRPC

packages/grpc-protobufjs/protobuf_js_6_common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ module.exports = function(grpc) {
134134
if (value.hasOwnProperty('methods')) {
135135
// It's a service object
136136
var service_attrs = getProtobufServiceAttrs(value, options);
137-
return grpc..makeGenericClientConstructor(service_attrs);
137+
return grpc.makeGenericClientConstructor(service_attrs);
138138
}
139139

140140
if (value.hasOwnProperty('nested')) {

0 commit comments

Comments
 (0)