Skip to content

Commit 35786fc

Browse files
authored
fix: linting - add destroy confirmation
1 parent 31d0140 commit 35786fc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/vagrant-zones/action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module VagrantPlugins
77
module ProviderZone
88
# Run actions against the machine
9-
module Action # rubocop:disable Metrics/ClassLength
9+
module Action # rubocop:disable Metrics/ModuleLength
1010
include Vagrant::Action::Builtin
1111
@logger = Log4r::Logger.new('vagrant_zones::action')
1212

lib/vagrant-zones/action/message_not_created.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# frozen_string_literal: true
22

33
require 'log4r'
4+
require 'securerandom'
5+
require 'digest/md5'
46

57
module VagrantPlugins
68
module ProviderZone
79
module Action
8-
# This can be used with 'Call' built-in to check if the machine
9-
# is created and branch in the middleware.
10+
# This is use to define the network
1011
class MessageNotCreated
1112
def initialize(app, _env)
12-
@app = app
1313
@logger = Log4r::Logger.new('vagrant_zones::action')
14+
@app = app
1415
end
1516

1617
def call(env)

0 commit comments

Comments
 (0)