thepracticaldev/dev.to

View on GitHub
Update tests to use the correct argument #8235
17884966Zhao-Andy authored 8668fd58
complete00:01:25
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2019-09-20T17:05:37.048003 #1]  WARN -- : Skipping app/javascript/packs/colorPicker.js due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:37.048088 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:37.107084 #1]  WARN -- : Skipping app/javascript/packs/clipboardCopy.js due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:37.107145 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:37.119912 #1]  WARN -- : Skipping app/javascript/packs/Onboarding.jsx due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:37.119974 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:37.298198 #1]  WARN -- : Skipping app/javascript/chat/video.jsx due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:37.298275 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:37.681704 #1]  WARN -- : Skipping app/javascript/chat/codeEditor.jsx due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:37.681755 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:37.896229 #1]  WARN -- : Skipping app/javascript/src/utils/pusher.js due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:37.896290 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.0.0/lib/concurrent/atomic/mutex_atomic_fixnum.rb:80: warning: constant ::Fixnum is deprecated
W, [2019-09-20T17:05:51.897824 #1]  WARN -- : Skipping ./app/javascript/packs/colorPicker.js due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:51.899036 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:51.920217 #1]  WARN -- : Skipping ./app/javascript/packs/clipboardCopy.js due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:51.923479 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:51.966896 #1]  WARN -- : Skipping ./app/javascript/packs/Onboarding.jsx due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:51.966988 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:52.239105 #1]  WARN -- : Skipping app/javascript/chat/video.jsx due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:52.239187 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:52.783355 #1]  WARN -- : Skipping app/javascript/chat/codeEditor.jsx due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:52.805637 #1]  WARN -- : Response status: 422
W, [2019-09-20T17:05:53.039961 #1]  WARN -- : Skipping app/javascript/src/utils/pusher.js due to CC::Parser::Client::HTTPError
W, [2019-09-20T17:05:53.040019 #1]  WARN -- : Response status: 422
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.0.0/lib/concurrent/atomic/mutex_atomic_fixnum.rb:80: warning: constant ::Fixnum is deprecated
I, [2019-09-20T17:05:57.674771 #1]  INFO -- : Skipping file ./app/services/rss_reader.rb due to exception (Racc::ParseError): ./app/services/rss_reader.rb:7 :: parse error on value ":" (tCOLON)
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/racc/parser.rb:528:in `on_error'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb:1175:in `on_error'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/racc/parser.rb:259:in `_racc_do_parse_c'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/racc/parser.rb:259:in `do_parse'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb:1082:in `block in process'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb:1070:in `process'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb:31:in `block in process'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb:28:in `each'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb:28:in `process'
/usr/src/app/lib/cc/engine/analyzers/ruby/main.rb:25:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2019-09-20T17:05:58.260450 #1]  INFO -- : Skipping file ./app/labor/unread_notifications_emailer.rb due to exception (Racc::ParseError): ./app/labor/unread_notifications_emailer.rb:11 :: parse error on value ["rescue", 11] (kRESCUE)
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/racc/parser.rb:528:in `on_error'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb:1175:in `on_error'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/racc/parser.rb:259:in `_racc_do_parse_c'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/racc/parser.rb:259:in `do_parse'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb:1082:in `block in process'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser_extras.rb:1070:in `process'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb:31:in `block in process'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb:28:in `each'
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/ruby_parser-3.11.0/lib/ruby_parser.rb:28:in `process'
/usr/src/app/lib/cc/engine/analyzers/ruby/main.rb:25:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
7
rubocop
rubocop engine documentation
8
brakeman
brakeman engine documentation
9
eslint
eslint engine documentation
View output
No rules are configured. Make sure you have added a config file with rules enabled.
See our documentation at https://docs.codeclimate.com/docs/eslint for more information.