diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-16 12:46:33 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-09-16 12:46:33 +0200 |
commit | 9d8afa222c678a2222f5219458759897089d7dad (patch) | |
tree | 12ee1e84c0b24929ef94acf7d01e2bf32a8fcd50 /app/models/ci/build.rb | |
parent | eadfc3a156571a2e8188fb8dd8946776a2d1d0ba (diff) | |
download | gitlab-ce-9d8afa222c678a2222f5219458759897089d7dad.tar.gz |
Improve code comments
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 0b017c98916..57ef4646d24 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -179,7 +179,7 @@ module Ci end def repo_url - auth = "gitlab-ci-token:#{ensure_token}@" + auth = "gitlab-ci-token:#{ensure_token!}@" project.http_url_to_repo.sub(/^https?:\/\//) do |prefix| prefix + auth end |