Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Fixed FlogTask to use FlogCLI. (envygeeks)

[git-p4: depot-paths = "//src/flog/dev/": change = 8755]
  • Loading branch information...
commit 38a4618832246091f6779fd97c7a6d2a920bf845 1 parent b33d64c
@zenspider zenspider authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/flog_task.rb
View
4 lib/flog_task.rb
@@ -50,8 +50,8 @@ def initialize name = :flog, threshold = 200, dirs = nil, method = nil
def define
desc "Analyze for code complexity in: #{dirs.join(', ')}"
task name do
- require "flog"
- flog = Flog.new :continue => true, :quiet => true
+ require "flog_cli"
+ flog = FlogCLI.new :continue => true, :quiet => true
flog.flog(*dirs)
desc, score = flog.send method
Please sign in to comment.
Something went wrong with that request. Please try again.