Don't request __middleman__

This commit is contained in:
Ben Hollis 2012-07-18 23:59:55 -07:00
parent 888ee078cc
commit 1f22184fc7

View file

@ -97,9 +97,7 @@ module Middleman::Cli
def shared_rack
@_shared_rack ||= begin
mock = ::Rack::MockSession.new(shared_server.to_rack_app)
sess = ::Rack::Test::Session.new(mock)
response = sess.get("__middleman__")
sess
::Rack::Test::Session.new(mock)
end
end
@ -279,4 +277,4 @@ class ::Thor::Actions::CreateFile
block.call unless pretend?
end
end
end
end