Sha256: be7b7e6349570e877b75259d8a4a8cc8ba4d5fe439c68cdb95cbb3c2cdf27bca
Contents?: true
Size: 435 Bytes
Versions: 3
Compression:
Stored size: 435 Bytes
Contents
module Checker module Modules class ConsoleLog < Base extensions 'coffee', 'js' private def check_one(file, opts = {}) Checker::Result.result(self, plain_command("grep -n \"console\\.log\" #{file}", :bundler => false)) end def show_status(status) if status == :ok print_success_message else print_warning_message end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
checker-0.6.5 | lib/checker/modules/console_log.rb |
checker-0.6.5.rc2 | lib/checker/modules/console_log.rb |
checker-0.6.5.rc1 | lib/checker/modules/console_log.rb |