diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-23 14:10:09 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-29 17:37:07 -0800 |
commit | 59537dc4cb2aab95d12d2af8b52c43b37ce1a947 (patch) | |
tree | c2a6ac08a408341347265ff16ad2a036b6a972a6 | |
parent | f363942affe8c22c6f2f3f8f3072bdbd3dd934c4 (diff) | |
download | gitlab-ci-59537dc4cb2aab95d12d2af8b52c43b37ce1a947.tar.gz |
Fix Build#trace
-rw-r--r-- | app/models/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/build.rb b/app/models/build.rb index 66d1282..a6bc09d 100644 --- a/app/models/build.rb +++ b/app/models/build.rb @@ -144,7 +144,7 @@ class Build < ActiveRecord::Base end def trace - if project + if project && read_attribute(:trace).present? read_attribute(:trace).gsub(project.token, 'xxxxxx') end end |