diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-02-23 18:02:13 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-02-23 18:02:13 +0300 |
commit | 1670a9fe98dc636cdf455f4177d359934b83b073 (patch) | |
tree | 019b2e5a22b1cb45960343e11c139fd31c36837a /app/services | |
parent | 414a638bc2460274e5b977094c327b7be6747576 (diff) |
Fixed static analysys
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/ci/create_trace_artifact_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_trace_artifact_service.rb b/app/services/ci/create_trace_artifact_service.rb index 00151f4bd1c..baa33de2857 100644 --- a/app/services/ci/create_trace_artifact_service.rb +++ b/app/services/ci/create_trace_artifact_service.rb @@ -4,7 +4,7 @@ module Ci return if job.job_artifacts_trace job.trace.read do |stream| - return unless stream.file? + return unless stream.file? # rubocop:disable Lint/NonLocalExitFromIterator temp_file!(stream.path, JobArtifactUploader.workhorse_upload_path) do |temp_path| job.create_job_artifacts_trace!( |