提交 20537f6a 编写于 作者: J Justin

Merge pull request #427 from presidentbeef/ignore_generators

Ignore generators
......@@ -71,7 +71,7 @@ module Brakeman
end
def lib_paths
@lib_files ||= find_paths("lib")
@lib_files ||= find_paths("lib").reject { |path| path.include? "/generators/" }
end
private
......
class <%= file_name.camelize %> < ActiveRecord::Base
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册