Skip to content

Commit 5a6fef1

Browse files
authored
QUA-543: hide sensitive information and bump cc-parser version (#372)
1 parent 97be4bd commit 5a6fef1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Diff for: Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM codeclimate/codeclimate-parser:b871
1+
FROM codeclimate/codeclimate-parser:b879
22
LABEL maintainer="Code Climate <hello@codeclimate.com>"
33

44
# Reset from base image
@@ -24,5 +24,7 @@ RUN chown -R app:app ./
2424

2525
USER app
2626

27+
# Hide deprecation warnings
28+
ENV RUBYOPT="-W0"
2729
ENTRYPOINT ["/usr/src/app/entrypoint"]
2830
CMD ["/usr/src/app/bin/duplication", "/code", "/config.json"]

Diff for: Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ DEPENDENCIES
5757
sexp_processor (~> 4.11)
5858

5959
BUNDLED WITH
60-
1.10.6
60+
2.3.12

Diff for: lib/cc/engine/analyzers/analyzer_base.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def run(file)
4242
end
4343
rescue => ex
4444
if RESCUABLE_ERRORS.map { |klass| ex.instance_of?(klass) }.include?(true)
45-
CC.logger.info("Skipping file #{file} due to exception (#{ex.class}): #{ex.message}\n#{ex.backtrace.join("\n")}")
45+
CC.logger.info("Skipping file #{file} due to exception (#{ex.class}): #{ex.message}\n")
4646
nil
4747
else
4848
CC.logger.info("#{ex.class} error occurred processing file #{file}: aborting.")

0 commit comments

Comments
 (0)