Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Feb 7, 2023
1 parent 0e061f8 commit 6dcb27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bob.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewFromTapes(tapes []bpu.Tape) (*Bap, error) {
func NewFromTape(tape *bpu.Tape) (b *Bap, err error) {
b = new(Bap)
if tape == nil {
err = fmt.Errorf("tape is nil %x", err)
err = fmt.Errorf("tape is nil %x", tape)
return
}
err = b.FromTape(tape)
Expand Down

0 comments on commit 6dcb27e

Please sign in to comment.