Sha256: 376686bb18dc66da9114bbb116f4568d06fdd3dc439632ad2b6319dc25b342a2
Contents?: true
Size: 384 Bytes
Versions: 6
Compression:
Stored size: 384 Bytes
Contents
# frozen_string_literal: true module VagrantPlugins module Packet module Action class WarnNetworks def initialize(app, _env) @app = app end def call(env) env[:ui].warn(I18n.t('vagrant_packet.warn_networks')) if env[:machine].config.vm.networks.length.positive? @app.call(env) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems