Skip to content

Commit

Permalink
[rebase] Fix errors; update dependencies
Browse files Browse the repository at this point in the history
Argument must be []byte not string

Don't commit bomtest.txt
  • Loading branch information
remyabel2 committed Aug 16, 2018
1 parent 3a31b84 commit 74d81ae
Show file tree
Hide file tree
Showing 8 changed files with 113 additions and 73 deletions.
97 changes: 27 additions & 70 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@

[[constraint]]
branch = "master"
name = "https://github.com/spkg/bom"
name = "github.com/spkg/bom"
2 changes: 1 addition & 1 deletion pkg/gui/view_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (gui *Gui) renderString(g *gocui.Gui, viewName, s string) error {
return nil
}
v.Clear()
fmt.Fprint(v, bom.Clean(s))
fmt.Fprint(v, bom.Clean([]byte(s)))
v.Wrap = true
return nil
})
Expand Down
3 changes: 2 additions & 1 deletion test/repos/bom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ set -ex; rm -rf repo; mkdir repo; cd repo

git init

cat <<EOT >> bomtest.txt A,B,C,D,E
cat <<EOT >> bomtest.txt
A,B,C,D,E
F,G,H,I,J
K,L,M,N,O
P,Q,R,S,T
Expand Down
21 changes: 21 additions & 0 deletions vendor/github.com/spkg/bom/LICENSE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions vendor/github.com/spkg/bom/bom.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions vendor/github.com/spkg/bom/discard_go14.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 74d81ae

Please sign in to comment.