Skip to content

Commit

Permalink
ci(feature): add env for proto location (#5700)
Browse files Browse the repository at this point in the history
Description
Add OS env to override the location of ```proto``` file location.

Motivation and Context
Help with targeting different location for ```proto``` files.

How Has This Been Tested?
Tested locally and in docker image

What process can a PR reviewer use to test or verify this change?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
leet4tari committed Aug 31, 2023
1 parent d03d0b5 commit 8d84bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/nodejs/base_node_grpc_client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const path = require("path");
const packageDefinition = protoLoader.loadSync(
path.resolve(
__dirname,
"../../../../applications/minotari_app_grpc/proto/base_node.proto"
process.env.BASE_NODE_PROTO || "../../../../applications/minotari_app_grpc/proto/base_node.proto"
),
{
keepCase: true,
Expand Down

0 comments on commit 8d84bf5

Please sign in to comment.