aboutsummaryrefslogtreecommitdiffstats
path: root/internal/commands/up.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/up.go')
-rw-r--r--internal/commands/up.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/up.go b/internal/commands/up.go
index 57f9109..ba74299 100644
--- a/internal/commands/up.go
+++ b/internal/commands/up.go
@@ -69,7 +69,7 @@ func (cmd *UpCmd) Execute(
return subcommands.ExitFailure
}
- migrationFsRepo, err := repositories.NewMigrationFsRepo(cfg.MigrationsDir)
+ migrationFsRepo, err := repositories.NewMigrationFsRepo(&cfg.Migrations)
if err != nil {
consoleOutputter.Error(err.Error())
return subcommands.ExitFailure