Cleanup style

This commit is contained in:
Seth Vargo 2015-04-02 10:11:41 -04:00
parent ca3cb385d4
commit 13d4899d16
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ module VagrantPlugins
# Create the parent directories if they does not exist (naive mkdir -p)
fullpath.descend do |path|
unless check_dir_exists? path.to_s
if !directory_exists?(path.to_s)
@server.mkdir(path.to_s)
end
end
@ -83,7 +83,7 @@ module VagrantPlugins
@server.putbinaryfile(local, remote)
end
def check_dir_exists?(path)
def directory_exists?(path)
begin
@server.chdir(path)
return true