Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Qua 543: hide sensitive information and bump cc-parser version #372

Merged
merged 4 commits into from
May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM codeclimate/codeclimate-parser:b871
FROM codeclimate/codeclimate-parser:b879
LABEL maintainer="Code Climate <hello@codeclimate.com>"

# Reset from base image
Expand All @@ -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"]
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ DEPENDENCIES
sexp_processor (~> 4.11)

BUNDLED WITH
1.10.6
2.3.12
2 changes: 1 addition & 1 deletion lib/cc/engine/analyzers/analyzer_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down