Fix platform not supported error in build.py (#4102)
This commit is contained in:
parent
0527474bf6
commit
cb8d5cc265
|
@ -694,7 +694,7 @@ def main(args):
|
||||||
orig_branch = get_current_branch()
|
orig_branch = get_current_branch()
|
||||||
|
|
||||||
if args.platform not in supported_builds and args.platform != 'all':
|
if args.platform not in supported_builds and args.platform != 'all':
|
||||||
logging.error("Invalid build platform: {}".format(target_platform))
|
logging.error("Invalid build platform: {}".format(args.platform))
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
build_output = {}
|
build_output = {}
|
||||||
|
|
Loading…
Reference in New Issue