lib/pronto/flay.rb in pronto-flay-0.6.2 vs lib/pronto/flay.rb in pronto-flay-0.7.0

- old
+ new

@@ -14,14 +14,11 @@ # The current Flay (2.8.0) takes care of filtering # files by looking at .flayignore. # Saving the returned Flay object at @flay so we # can inspect it and build the messages Array. - # - # Coercing files with Array to protect against - # +nil+ values. def flay - @flay ||= ::Flay.run(Array(files)) + @flay ||= ::Flay.run(files) end def files @files ||= ruby_patches.map(&:new_file_full_path) end