-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't use __dirname
when loading proto/proto.proto
#37
Comments
Good find, can you send a PR? |
Sure thing |
@perezd Is using the older https://www.npmjs.com/package/protobufjs#using-json-descriptors This would make bundling it easier since the |
it could support both, but I won't accept a PR that breaks existing usages. Adding support while maintaining the original API would be fine tho. |
https://github.com/riemann/riemann-nodejs-client/blob/master/riemann/serializer.js#L17
When bundling, this becomes the directory of the caller, leading to:
The text was updated successfully, but these errors were encountered: