From 3e74501d26a5ebd15bcbdbd4658664021810dc22 Mon Sep 17 00:00:00 2001 From: sophia Date: Wed, 11 Aug 2021 17:39:38 -0400 Subject: [PATCH] Get full path to Vagrantfile without Vagrantfile name --- internal/core/project.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/project.go b/internal/core/project.go index 045820dbe..941e5f279 100644 --- a/internal/core/project.go +++ b/internal/core/project.go @@ -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 }