From 0e1683d5a3e115a83fe9bdf3922a02f00f1391a8 Mon Sep 17 00:00:00 2001 From: Kai Bolay Date: Tue, 30 Apr 2024 16:54:03 -0400 Subject: [PATCH] Check test_certificates for nil (#368) Fix #367 --- .../actions/firebase_app_distribution_action.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb b/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb index f0f6c0b..4810c97 100644 --- a/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb +++ b/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb @@ -221,7 +221,7 @@ def self.validate_aab_setup!(aab_info) end def self.aab_certs_included?(test_certificate) - present?(test_certificate.hash_md5) && present?(test_certificate.hash_sha1) && + !test_certificate.nil? && present?(test_certificate.hash_md5) && present?(test_certificate.hash_sha1) && present?(test_certificate.hash_sha256) end