Return nil if no root path to determine dotfile

This commit is contained in:
Mitchell Hashimoto 2011-12-10 13:56:34 -08:00
parent e15b974c15
commit 2a7f0d8a85
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ module Vagrant
#
# @return [Pathname]
def dotfile_path
return nil if !root_path
root_path.join(config.global.vagrant.dotfile_name)
end