Skip to content

Commit 4ffffc5

Browse files
committed
Fix git org parse failure message
1 parent d9dfa3d commit 4ffffc5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -2755,7 +2755,10 @@ def enable_all():
27552755
components_git_orgs = {key: DEFAULT_GIT_ORG for key in COMPONENTS_GIT_ORG_KEYS}
27562756
for git_org in FLAGS.git_org:
27572757
parts = git_org.split("!")
2758-
fail_if(len(parts) != 2, "--git-org must specify <component-name>:<git-org>")
2758+
fail_if(
2759+
len(parts) != 2,
2760+
"--git-org must specify <component-name>!<git-org>, note '!' separator.",
2761+
)
27592762
fail_if(
27602763
parts[0] not in components_git_orgs,
27612764
'--git-org <component-name> must be one of "{}"'.format(

0 commit comments

Comments
 (0)