Fix flutter build ipa --export-method not accepting enterprise flag (#153047)

When implementing the fix for https://github.com/flutter/flutter/issues/149369, I missed accounting for the `enterprise` flag for `flutter build ipa` 😬

Fixes https://github.com/flutter/flutter/issues/153000
This commit is contained in:
LouiseHsu
2024-08-08 09:07:27 -07:00
committed by GitHub
parent b6cd31e6b5
commit 51606f99a4
2 changed files with 74 additions and 2 deletions

View File

@@ -599,8 +599,6 @@ class BuildIOSArchiveCommand extends _BuildIOSSubCommand {
return 'release-testing';
case 'development':
return 'debugging';
default:
throwToolExit('Encountered invalid export-method input.');
}
}
return method;