lib/terragov/cleaner.rb in terragov-0.2.2 vs lib/terragov/cleaner.rb in terragov-0.2.3
- old
+ new
@@ -2,11 +2,9 @@
require 'highline'
module Terragov
class Cleaner
def delete(path, pattern, force=false)
- cli = HighLine.new
-
files = Find.find(path).grep(pattern)
if files.empty?
puts "No files found matching #{pattern} in #{path}"
exit