summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-02-24 02:04:32 +0900
committerShinya Maeda <shinya@gitlab.com>2018-02-24 02:04:32 +0900
commit4a54cc4cd3558413296df5ec14db6788e91e8586 (patch)
tree0519a18e6361da2e4ca682898d3a077b9034e57f
parentaa603812e3d4917107af69d114ea1ab4050aebb7 (diff)
downloadgitlab-ce-4a54cc4cd3558413296df5ec14db6788e91e8586.tar.gz
Change FileUtils.cp to FileUtils.copy
-rw-r--r--app/services/ci/create_trace_artifact_service.rb2
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 3a6d0f6f8e5..dae741a371c 100644
--- a/app/services/ci/create_trace_artifact_service.rb
+++ b/app/services/ci/create_trace_artifact_service.rb
@@ -7,7 +7,7 @@ module Ci
break unless stream.file?
temp_file!(JobArtifactUploader.workhorse_upload_path) do |temp_path|
- FileUtils.cp(stream.path, temp_path)
+ FileUtils.copy(stream.path, temp_path)
create_job_trace!(job, temp_path)
FileUtils.rm(stream.path)
end