Skip to content

Commit 5971f90

Browse files
committed
Fix git org parse failure message
1 parent fd4b24d commit 5971f90

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
@@ -2815,7 +2815,10 @@ def enable_all():
28152815
components_git_orgs = {key: DEFAULT_GIT_ORG for key in COMPONENTS_GIT_ORG_KEYS}
28162816
for git_org in FLAGS.git_org:
28172817
parts = git_org.split("!")
2818-
fail_if(len(parts) != 2, "--git-org must specify <component-name>:<git-org>")
2818+
fail_if(
2819+
len(parts) != 2,
2820+
"--git-org must specify <component-name>!<git-org>, note '!' separator.",
2821+
)
28192822
fail_if(
28202823
parts[0] not in components_git_orgs,
28212824
'--git-org <component-name> must be one of "{}"'.format(

0 commit comments

Comments
 (0)