Return nil if no root path to determine dotfile
This commit is contained in:
parent
e15b974c15
commit
2a7f0d8a85
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue