Skip to content

Commit 0a8be1d

Browse files
author
Shlomi Noach
committed
excplicitly breaking on NoPrintStatusRule
1 parent 1c6f828 commit 0a8be1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

go/logic/migrator.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,9 @@ func (this *Migrator) printMigrationStatusHint(writers ...io.Writer) {
744744
// By default the status is written to standard output, but other writers can
745745
// be used as well.
746746
func (this *Migrator) printStatus(rule PrintStatusRule, writers ...io.Writer) {
747+
if rule == NoPrintStatusRule {
748+
return
749+
}
747750
writers = append(writers, os.Stdout)
748751

749752
elapsedTime := this.migrationContext.ElapsedTime()

0 commit comments

Comments
 (0)