mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Remove deprecated Kernel#quietly calls
This commit is contained in:
parent
9d47e02cf1
commit
e0556365a8
3 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ module Docs
|
|||
|
||||
def parse_html(html)
|
||||
warn "#{self.class.name} is re-parsing the document" unless ENV['RACK_ENV'] == 'test'
|
||||
quietly { super }
|
||||
super
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,7 +5,7 @@ module Docs
|
|||
end
|
||||
|
||||
def html
|
||||
@html ||= quietly { document? ? parse_as_document : parse_as_fragment }
|
||||
@html ||= document? ? parse_as_document : parse_as_fragment
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -138,7 +138,7 @@ module Docs
|
|||
|
||||
def process_response(response)
|
||||
data = {}
|
||||
quietly { pipeline.call(parse(response.body), pipeline_context(response), data) }
|
||||
pipeline.call(parse(response.body), pipeline_context(response), data)
|
||||
data
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue