Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed May 9, 2023
1 parent c32c418 commit 4c8c889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/goose/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func main() {
_ = normalizeDBString("", "", "", "", "")
args := os.Args[1:]
if err := cli.Run(args); err != nil {
fmt.Fprintln(os.Stderr, "ERROR:", err)
fmt.Fprintln(os.Stderr, "ERROR goose:", err)
os.Exit(1)
}
}
2 changes: 1 addition & 1 deletion internal/cli/cmd_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *validateCmd) Exec(ctx context.Context, args []string) error {
return err
}
if len(sources) == 0 {
return fmt.Errorf("goose: no migration sources found in %q", dir)
return fmt.Errorf("no migration sources found in %q", dir)
}
filenames := make([]string, 0, len(sources))
for _, src := range sources {
Expand Down

0 comments on commit 4c8c889

Please sign in to comment.