mirror of
https://github.com/therootcompany/golib.git
synced 2026-02-10 13:58:04 +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
|
// 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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user