mirror of
https://github.com/therootcompany/golib.git
synced 2026-02-09 21:38:05 +00:00
chore(cmd/sql-migrate): make file path ormatting consistent for all 'found ./path/to/x' outtput
This commit is contained in:
parent
1ec145b3eb
commit
dd4148b88e
@ -472,7 +472,7 @@ func mustInit(cfg *MainConfig) {
|
||||
|
||||
// write config
|
||||
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 {
|
||||
if cfg.logPath == "" {
|
||||
migrationsParent := filepath.Dir(cfg.migrationsDir)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user