mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Fix include paths for loading protos
This commit is contained in:
parent
7b1bd147a6
commit
930d409165
@ -62,11 +62,12 @@ function loadAdsProtos(): Promise<adsTypes.ProtoGrpcType> {
|
||||
defaults: true,
|
||||
oneofs: true,
|
||||
includeDirs: [
|
||||
'deps/envoy-api/',
|
||||
'deps/udpa/',
|
||||
'node_modules/protobufjs/',
|
||||
'deps/googleapis/',
|
||||
'deps/protoc-gen-validate/',
|
||||
// Paths are relative to src/build
|
||||
__dirname + '/../../deps/envoy-api/',
|
||||
__dirname + '/../../deps/udpa/',
|
||||
__dirname + '/../../node_modules/protobufjs/',
|
||||
__dirname + '/../../deps/googleapis/',
|
||||
__dirname + '/../../deps/protoc-gen-validate/',
|
||||
],
|
||||
}
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user