From f0bcf930f44b3dd8bd5d4abb4c43b224da73b4a1 Mon Sep 17 00:00:00 2001 From: Rob Mulholand Date: Thu, 27 Jun 2019 10:12:12 -0500 Subject: [PATCH] Separate tmp migrations dir from home in join - enable separator between home and migrations dir --- pkg/plugin/manager/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/manager/manager.go b/pkg/plugin/manager/manager.go index 3f9dce28..7fb13a1d 100644 --- a/pkg/plugin/manager/manager.go +++ b/pkg/plugin/manager/manager.go @@ -73,7 +73,7 @@ func (m *manager) RunMigrations() error { // Setup a temporary directory to hold transformer db migrations func (m *manager) setupMigrationEnv() error { var err error - m.tmpMigDir, err = helpers.CleanPath(filepath.Join("$GOPATH/src", m.GenConfig.Home+".plugin_migrations")) + m.tmpMigDir, err = helpers.CleanPath(filepath.Join("$GOPATH/src", m.GenConfig.Home, ".plugin_migrations")) if err != nil { return err }