Fix http_io to make it return path is nil

This commit is contained in:
Shinya Maeda 2018-03-05 22:30:17 +09:00 committed by Micaël Bergeron
parent 44f37504fb
commit 462b04f5b4

View file

@ -8,7 +8,7 @@ module Gitlab
attr_reader :stream
delegate :close, :tell, :seek, :size, :path, :truncate, to: :stream, allow_nil: true
delegate :close, :tell, :seek, :size, :path, :url, :truncate, to: :stream, allow_nil: true
delegate :valid?, to: :stream, as: :present?, allow_nil: true