Skip to content

Commit

Permalink
Merge pull request #113 from bhutch29/bugfix/removing-debug-printf-st…
Browse files Browse the repository at this point in the history
…atement

Removing a debug printf statement that I seem to have accidentally committed to develop
  • Loading branch information
bhutch29 authored Jan 13, 2019
2 parents 4cc095b + c455ec7 commit f440c85
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import (
"os/exec"
"strings"

"golang.org/x/crypto/ssh/terminal"
"golang.org/x/text/unicode/norm"
"github.com/bhutch29/abv/cache"
"github.com/bhutch29/abv/config"
"github.com/bhutch29/abv/model"
"github.com/jroimartin/gocui"
aur "github.com/logrusorgru/aurora"
"github.com/sirupsen/logrus"
"github.com/spf13/viper"
"golang.org/x/crypto/ssh/terminal"
"golang.org/x/text/unicode/norm"
)

var (
Expand Down Expand Up @@ -156,7 +156,6 @@ func refreshInventory() error {
fmt.Fprintf(view, "%-4d%-35s%-30s\n", drink.Quantity, drink.Brand, drink.Name)
} else {
const wsPad = " " // strings.Repeat(" ", 39)
fmt.Printf("Hello, %8s\n", "pad")
fmt.Fprintf(view, "%-4d%-35s%-30s...\n", drink.Quantity, drink.Brand, string(nfcRunes[:30]))
fmt.Fprintf(view, "%s...%s\n", wsPad, string(nfcRunes[30:]))
}
Expand Down

0 comments on commit f440c85

Please sign in to comment.