Skip to content

Commit

Permalink
Check !ENV['ENTITLMENTS_FILE_PATH'].empty?
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiarrr committed Apr 6, 2023
1 parent 645dc08 commit 2b71d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ platform :ios do
path: ENV['PROJECT_PATH'],
code_sign_identity: ENV['CODE_SIGNING_IDENTITY'],
targets: update_targets,
entitlements_file_path: ENV['ENTITLMENTS_FILE_PATH']
entitlements_file_path: !ENV['ENTITLMENTS_FILE_PATH'].empty? ? ENV['ENTITLMENTS_FILE_PATH'] : nil
)

if @profiles.length == 1
Expand Down

0 comments on commit 2b71d76

Please sign in to comment.