Sha256: 37edf01a2c79017f49ec22f686b4127ca289bd6deaa73a5b060bf9eb4c7802a7

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require 'vagrant'
require Vagrant.source_root.join('plugins/commands/login/middleware/add_authentication')

module Vagrant
	module KillServerWarning
		class Middleware
		  def initialize(app, env)
		    @app = app
		  end

		  def call(env)
			 VagrantPlugins::LoginCommand::AddAuthentication.custom_host_notified!
			 @app.call(env)
		  end
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-kill-server-warning-0.2 lib/vagrant-kill-server-warning/middleware.rb
vagrant-kill-server-warning-0.1 lib/vagrant-kill-server-warning/middleware.rb