Get full path to Vagrantfile without Vagrantfile name

This commit is contained in:
sophia 2021-08-11 17:39:38 -04:00 committed by Paul Hinze
parent 6cde007530
commit 3e74501d26
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -78,7 +78,7 @@ func (p *Project) VagrantfileName() (name string, err error) {
// VagrantfilePath implements core.Project
func (p *Project) VagrantfilePath() (pp path.Path, err error) {
pp = path.NewPath(p.project.Configuration.Path)
pp = path.NewPath(p.project.Configuration.Path).Parent()
return
}