fastlane/lib/fastlane/fastlane_require.rb in fastlane-2.5.0 vs fastlane/lib/fastlane/fastlane_require.rb in fastlane-2.6.0
- old
+ new
@@ -43,10 +43,10 @@
# don't actually load anything we don't want to load
# This is just to test if the gem is already preinstalled, e.g. YAML
# See https://github.com/fastlane/fastlane/issues/6951
fork do
begin
- exit(1) unless require name
+ require name
rescue LoadError
exit(1)
end
end
_, status = Process.wait2