chore(cmd/sql-migrate): make file path ormatting consistent for all 'found ./path/to/x' outtput

This commit is contained in:
AJ ONeal 2026-01-31 21:18:34 -07:00
parent 1ec145b3eb
commit dd4148b88e
No known key found for this signature in database

View File

@ -472,7 +472,7 @@ func mustInit(cfg *MainConfig) {
// write config // write config
if slices.Contains(ups, M_MIGRATOR_NAME) { if slices.Contains(ups, M_MIGRATOR_NAME) {
fmt.Fprintf(os.Stderr, " found %s\n", filepath.Join(cfg.migrationsDir, M_MIGRATOR_UP_NAME)) fmt.Fprintf(os.Stderr, " found %s\n", filepathJoin(cfg.migrationsDir, M_MIGRATOR_UP_NAME))
} else { } else {
if cfg.logPath == "" { if cfg.logPath == "" {
migrationsParent := filepath.Dir(cfg.migrationsDir) migrationsParent := filepath.Dir(cfg.migrationsDir)