Fixed whitespacing in command_filter and file_manager
This commit is contained in:
parent
afeb60c850
commit
cad3dde760
|
@ -1,9 +1,7 @@
|
|||
module VagrantPlugins
|
||||
module CommunicatorWinRM
|
||||
|
||||
# Handles loading and applying all available WinRM command filters
|
||||
class CommandFilter
|
||||
|
||||
@@cmd_filters = [
|
||||
"cat",
|
||||
"chmod",
|
||||
|
@ -42,7 +40,6 @@ module VagrantPlugins
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,11 +2,9 @@ require "log4r"
|
|||
|
||||
module VagrantPlugins
|
||||
module CommunicatorWinRM
|
||||
|
||||
# Manages the file system on the remote guest allowing for file tranfer
|
||||
# between the guest and host.
|
||||
class FileManager
|
||||
|
||||
def initialize(shell)
|
||||
@logger = Log4r::Logger.new("vagrant::communication::filemanager")
|
||||
@shell = shell
|
||||
|
@ -39,7 +37,6 @@ module VagrantPlugins
|
|||
IO.binwrite(host_dest_file_path, out)
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
|
||||
# Recursively uploads the given directory from the host to the guest
|
||||
|
@ -160,7 +157,6 @@ module VagrantPlugins
|
|||
:to => to,
|
||||
:message => out.inspect if out[:exitcode] != 0
|
||||
end
|
||||
|
||||
end #class
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue