don't load Pluginfile twice
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
f6b7f637f0
commit
684630e022
|
@ -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']
|
||||
eval_gemfile(plugins_path) if plugins_path
|
||||
|
||||
if plugins_path == nil
|
||||
plugins_path = File.join(__dir__, 'Pluginfile')
|
||||
end
|
||||
|
||||
eval_gemfile(plugins_path) if plugins_path
|
||||
|
|
Loading…
Reference in New Issue