Fix platform not supported error in build.py (#4102)
This commit is contained in:
parent
7c0754ebe5
commit
3ae0c20200
|
@ -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