Skip to content

Commit

Permalink
use stderr instead of stdout for ui error writer
Browse files Browse the repository at this point in the history
  • Loading branch information
4kord authored and rubenv committed Jul 10, 2024
1 parent 29b22c8 commit 17cb6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql-migrate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func main() {
var ui cli.Ui

func realMain() int {
ui = &cli.BasicUi{Writer: os.Stdout}
ui = &cli.BasicUi{Writer: os.Stdout, ErrorWriter: os.Stderr}

cli := &cli.CLI{
Args: os.Args[1:],
Expand Down

0 comments on commit 17cb6ad

Please sign in to comment.