Skip to content

Commit

Permalink
Merge 985eec6 into 0ca04a4
Browse files Browse the repository at this point in the history
  • Loading branch information
kbaum committed Aug 9, 2020
2 parents 0ca04a4 + 985eec6 commit 9df9230
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/coverband/reporters/web.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "coverband"

begin
require "rack"
rescue LoadError
Expand All @@ -11,10 +13,6 @@ module Reporters
class Web
attr_reader :request

def initialize
init_web
end

def init_web
full_path = Gem::Specification.find_by_name("coverband").full_gem_path
@static = Rack::Static.new(self,
Expand Down

0 comments on commit 9df9230

Please sign in to comment.