Skip to content

Commit

Permalink
chore(git): ignore dbench folder (#19)
Browse files Browse the repository at this point in the history
* chore(git): ignore dbench folder

* fix(ui): increase print width for doctor command
  • Loading branch information
nikoksr committed Dec 10, 2023
1 parent c03b184 commit 0773fbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tmp/

bin/
dist/
dbench/
completions/

# Files
Expand Down
3 changes: 2 additions & 1 deletion cmd/doctor.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ Enabling the --system flag, dbench will show you the exact system config that wo
}

// Print header
p := printer.NewPrinter(cmd.OutOrStdout(), 30)
p := printer.NewPrinter(cmd.OutOrStdout(), 40)
p.PrintlnTitle(fmt.Sprintf("%s %s", build.AppName, build.Version))

// Check dbench database
p.PrintlnSubTitle("Database")
p.PrintInfo(" Connecting ... ", printer.WithIndent())
p.PrintlnSuccess(connDuration.String())

p.PrintInfo(" Counting database records ... ", printer.WithIndent())
count, err := db.CountAll(cmd.Context())
if err != nil {
Expand Down

This file was deleted.

0 comments on commit 0773fbd

Please sign in to comment.