diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-04-18 17:33:17 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-04-18 17:33:17 +0800 |
commit | fb60c6187df379c5ccb5882c2372f417141ddfff (patch) | |
tree | 27333fc7d3acb47fb6eb1093067f8886b64f769e /lib | |
parent | ed8afea9116533258da617f4f444f4a74b8b83f6 (diff) | |
download | gitlab-ce-fb60c6187df379c5ccb5882c2372f417141ddfff.tar.gz |
Use &. because rubocop. Seriously I don't think this makes sense
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/trace/stream.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/trace/stream.rb b/lib/gitlab/ci/trace/stream.rb index e93019c4098..68b14c7c04c 100644 --- a/lib/gitlab/ci/trace/stream.rb +++ b/lib/gitlab/ci/trace/stream.rb @@ -14,7 +14,7 @@ module Gitlab def initialize @stream = yield - @stream.binmode if @stream + @stream&.binmode end def valid? |