fastlane/lib/fastlane/setup/setup.rb in fastlane-2.87.0.beta.20180323050014 vs fastlane/lib/fastlane/setup/setup.rb in fastlane-2.87.0
- old
+ new
@@ -52,9 +52,12 @@
spinner = TTY::Spinner.new("[:spinner] Looking for iOS and Android projects in current directory...", format: :dots)
spinner.auto_spin
ios_projects = Dir["**/*.xcodeproj"] + Dir["**/*.xcworkspace"]
+ ios_projects.delete_if do |path|
+ Gem.path.any? { |gem_path| File.expand_path(path).start_with?(gem_path) }
+ end
ios_projects.delete_if { |path| path.match("fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj") }
android_projects = Dir["**/*.gradle"]
spinner.success