From 9d3d9fe9682a1d4106e00b610a4ca45db94f9a3f Mon Sep 17 00:00:00 2001 From: Camillo Facello <52419977+camillof@users.noreply.github.com> Date: Wed, 4 May 2022 10:26:50 -0300 Subject: [PATCH 1/4] QUA-543: Hide deprecation warnings --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 077c3fa..7cc50a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,5 +24,7 @@ RUN chown -R app:app ./ USER app +# Hide deprecation warnings +ENV RUBYOPT="-W0" ENTRYPOINT ["/usr/src/app/entrypoint"] CMD ["/usr/src/app/bin/duplication", "/code", "/config.json"] From 388e13d499d0c9b7741fdb010b3360bb415342ce Mon Sep 17 00:00:00 2001 From: Camillo Facello <52419977+camillof@users.noreply.github.com> Date: Wed, 4 May 2022 10:27:26 -0300 Subject: [PATCH 2/4] QUA-543: Bump cc-parser to b879 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7cc50a8..69470d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM codeclimate/codeclimate-parser:b871 +FROM codeclimate/codeclimate-parser:b879 LABEL maintainer="Code Climate " # Reset from base image From c49a8c9d3baea0f905436ed898bed95a4e85e2eb Mon Sep 17 00:00:00 2001 From: Camillo Facello <52419977+camillof@users.noreply.github.com> Date: Wed, 4 May 2022 10:56:33 -0300 Subject: [PATCH 3/4] QUA-543: Update bundler --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a16a6d1..f7f6fd5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,4 +57,4 @@ DEPENDENCIES sexp_processor (~> 4.11) BUNDLED WITH - 1.10.6 + 2.3.12 From 2d4421d06a845fcdc3a177626783bde2a72ad164 Mon Sep 17 00:00:00 2001 From: Camillo Facello <52419977+camillof@users.noreply.github.com> Date: Wed, 4 May 2022 16:26:33 -0300 Subject: [PATCH 4/4] QUA-543: Don't print exception backtrace --- lib/cc/engine/analyzers/analyzer_base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cc/engine/analyzers/analyzer_base.rb b/lib/cc/engine/analyzers/analyzer_base.rb index 48b9039..aa144ce 100644 --- a/lib/cc/engine/analyzers/analyzer_base.rb +++ b/lib/cc/engine/analyzers/analyzer_base.rb @@ -42,7 +42,7 @@ def run(file) end rescue => ex if RESCUABLE_ERRORS.map { |klass| ex.instance_of?(klass) }.include?(true) - CC.logger.info("Skipping file #{file} due to exception (#{ex.class}): #{ex.message}\n#{ex.backtrace.join("\n")}") + CC.logger.info("Skipping file #{file} due to exception (#{ex.class}): #{ex.message}\n") nil else CC.logger.info("#{ex.class} error occurred processing file #{file}: aborting.") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy