Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
fix: grafeas can also be a top-level protocol folder (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored and alexander-fenster committed Jun 4, 2019
1 parent 9e70921 commit 90359d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artman/utils/protoc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def protoc_grpc_params(proto_params, pkg_dir, toolkit_path):


def find_google_dir_index(src_proto_path):
matches = list(re.finditer('(?:\\A|[/\\\\])(google)(?=\\Z|[/\\\\])',
matches = list(re.finditer('(?:\\A|[/\\\\])(google|grafeas)(?=\\Z|[/\\\\])',
src_proto_path))
if len(matches) == 0:
raise ValueError('src_proto_path did not contain "google" '
Expand Down

0 comments on commit 90359d8

Please sign in to comment.