diff --git a/examples/flutter_gallery/ios/fastlane/Fastfile b/examples/flutter_gallery/ios/fastlane/Fastfile index 5862481fb5..957711cca4 100644 --- a/examples/flutter_gallery/ios/fastlane/Fastfile +++ b/examples/flutter_gallery/ios/fastlane/Fastfile @@ -19,9 +19,9 @@ end # rebuild the app by: # 1- Signing using the publishing credentials; and # 2- xcodebuild with archive option -platform :ios do |options| +platform :ios do desc 'Push a new release to TestFlight' - lane :build_and_deploy_testflight do + lane :build_and_deploy_testflight do |options| # Doesn't do anything when not on Travis. setup_travis @@ -73,7 +73,7 @@ platform :ios do |options| codesigning_identity: 'iPhone Distribution: Store Ladd (S8QB4VV633)', ) - if options && options[:upload] + if options[:upload] upload_to_testflight end end