From 4a54cc4cd3558413296df5ec14db6788e91e8586 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Sat, 24 Feb 2018 02:04:32 +0900 Subject: Change FileUtils.cp to FileUtils.copy --- app/services/ci/create_trace_artifact_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1