diff options
Diffstat (limited to 'internal/commands/new.go')
| -rw-r--r-- | internal/commands/new.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/new.go b/internal/commands/new.go index 864de4e..a4eeff4 100644 --- a/internal/commands/new.go +++ b/internal/commands/new.go @@ -54,7 +54,7 @@ func (cmd *NewCmd) 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 |