mirror of https://github.com/pressly/goose.git
pending: slight change to textual output
parent
9fbce90a79
commit
5431e23861
|
@ -29,7 +29,7 @@ func pendingRun(cmd *Command, args ...string) {
|
||||||
if len(pendingScripts) == 0 {
|
if len(pendingScripts) == 0 {
|
||||||
fmt.Printf("goose: no pending migrations. you're up to date at version %v\n", current)
|
fmt.Printf("goose: no pending migrations. you're up to date at version %v\n", current)
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("goose: %v pending migrations:\n", len(pendingScripts))
|
fmt.Printf("goose: %v pending migration(s):\n", len(pendingScripts))
|
||||||
for _, s := range pendingScripts {
|
for _, s := range pendingScripts {
|
||||||
fmt.Printf(" %v\n", s)
|
fmt.Printf(" %v\n", s)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue