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
path: root/lib
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-04-18 12:33:17 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-04-18 12:33:17 +0300
commitfb60c6187df379c5ccb5882c2372f417141ddfff (patch)
tree27333fc7d3acb47fb6eb1093067f8886b64f769e /lib
parented8afea9116533258da617f4f444f4a74b8b83f6 (diff)
Use &. because rubocop. Seriously I don't think this makes sense
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/trace/stream.rb2
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?