aboutsummaryrefslogtreecommitdiffstats
path: root/internal/commands/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/status.go')
-rw-r--r--internal/commands/status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/status.go b/internal/commands/status.go
index 2adafef..417e95b 100644
--- a/internal/commands/status.go
+++ b/internal/commands/status.go
@@ -59,7 +59,7 @@ func (m *StatusCmd) 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