snapshot/lib/snapshot/update.rb in fastlane_hotfix-2.165.1 vs snapshot/lib/snapshot/update.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -6,10 +6,10 @@ class Update # @return [Array] A list of helper files (usually just one) def self.find_helper paths = Dir["./**/SnapshotHelper.swift"] + Dir["./**/SnapshotHelperXcode8.swift"] # exclude assets in gym - paths.reject { |p| p.include?("snapshot/lib/assets/") } + paths.reject { |p| p.include?("snapshot/lib/assets/") || p.include?("DerivedData") } end def update(force: false) paths = self.class.find_helper UI.user_error!("Couldn't find any SnapshotHelper files in current directory") if paths.count == 0