lib/fasterer/cli.rb in fasterer-0.2.1 vs lib/fasterer/cli.rb in fasterer-0.3.0
- old
+ new
@@ -1,10 +1,10 @@
require_relative 'file_traverser'
module Fasterer
class CLI
def self.execute
- file_traverser = Fasterer::FileTraverser.new('.')
+ file_traverser = Fasterer::FileTraverser.new(ARGV[0])
file_traverser.traverse
abort if file_traverser.offenses_found?
end
end
end