don't load Pluginfile twice

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-11-26 14:55:53 +01:00
parent f6b7f637f0
commit 684630e022
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 6 additions and 4 deletions

View File

@ -2,8 +2,10 @@ source 'https://rubygems.org'
gem 'fastlane', '>= 2.131.0'
plugins_path = File.join(__dir__, 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
plugins_path = ENV['FASTLANE_PLUGINFILE_PATH']
if plugins_path == nil
plugins_path = File.join(__dir__, 'Pluginfile')
end
eval_gemfile(plugins_path) if plugins_path