fix: review from @joerick

This commit is contained in:
Henry Schreiner
2021-01-22 13:01:00 -05:00
parent 5762aa5e3b
commit cc0e7ec0a1
4 changed files with 10 additions and 15 deletions
+5 -5
View File
@@ -257,6 +257,11 @@ def main() -> None:
print_preamble(platform, build_options)
if not identifiers:
print(f'cibuildwheel: No build identifiers selected: {build_selector}', file=sys.stderr)
if not args.allow_empty:
sys.exit(3)
if not output_dir.exists():
output_dir.mkdir(parents=True)
@@ -269,11 +274,6 @@ def main() -> None:
else:
assert_never(platform)
if not identifiers:
print(f'cibuildwheel: No build identifiers selected: {build_selector}', file=sys.stderr)
if not args.allow_empty:
sys.exit(3)
def detect_obsolete_options() -> None:
# Check the old 'MANYLINUX1_*_IMAGE' options