lib/swoop/project.rb in swoop_report-0.2.1 vs lib/swoop/project.rb in swoop_report-0.2.2

- old
+ new

@@ -37,9 +37,10 @@ [".swift", ".h", ".m"] end def valid_file? (f) return false unless f.is_a?(Xcodeproj::Project::Object::PBXFileReference) + return false unless File.exist?(f.real_path) ext = File.extname(f.real_path) valid_file_extensions.include?(ext) end