Skip to content
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

Fix protobuf.sh #33

Merged
merged 4 commits into from
May 29, 2020
Merged

Fix protobuf.sh #33

merged 4 commits into from
May 29, 2020

Conversation

pruthvidhodda
Copy link
Contributor

Description

Updated protobuf.sh to work with changes to proto files in dapr/dapr

Issue reference

Please reference the issue this PR will close: #32

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@pruthvidhodda pruthvidhodda merged commit a7c3ff3 into master May 29, 2020
@pruthvidhodda pruthvidhodda deleted the issue_32 branch May 29, 2020 19:19
FILE_PATH="${PROTO_PATH}/${FILE_NAME}/v1"
FOLDER_NAME=$1
FILE_NAME=$2
FILE_PATH="${PROTO_PATH}/${FOLDER_NAME}/v1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this need to be: FILE_PATH="${PROTO_PATH}/${FOLDER_NAME}/v1/{FILE_NAME}" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using FILE_PATH to create directories as needed in that path. Having filename there would create another folder with name {FILE_NAME} which we do not want to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update protobuf.sh to work with changes to proto files in dapr/dapr
3 participants