Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 06:09:04 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-10 06:09:04 +0300
commit311212ced6a544f920ae6637e3de8e1ec792baa6 (patch)
tree1823f8de94d33ce9782bb111c758317616d7bc4a /lib/gitlab/ci/runner_instructions.rb
parent1b1d9cdc17e24711e9074e24c0a4e83446153f7d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/runner_instructions.rb')
-rw-r--r--lib/gitlab/ci/runner_instructions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/runner_instructions.rb b/lib/gitlab/ci/runner_instructions.rb
index 2171637687f..dd0bfa768a8 100644
--- a/lib/gitlab/ci/runner_instructions.rb
+++ b/lib/gitlab/ci/runner_instructions.rb
@@ -106,7 +106,7 @@ module Gitlab
end
def get_file(path)
- File.read(path)
+ File.read(Rails.root.join(path).to_s)
end
def registration_token