summaryrefslogtreecommitdiff
path: root/debugon.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2019-06-16 11:20:10 +0200
committerÖzgür Kesim <oec@codeblau.de>2019-06-16 11:20:10 +0200
commit3322278f7c333f91ca9bb9808b068a7d2725530e (patch)
tree68b39db98d609b1f7380277cd3f7270006597c05 /debugon.go
parent3e20a3b9244aa003fcaf26a625ef48246aef55f7 (diff)
vektah -> oec
Diffstat (limited to 'debugon.go')
-rw-r--r--debugon.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/debugon.go b/debugon.go
index ceb3c33..f78ba74 100644
--- a/debugon.go
+++ b/debugon.go
@@ -11,7 +11,7 @@ import (
"strings"
"time"
- "github.com/vektah/goparsify/debug"
+ "github.com/oec/goparsify/debug"
)
var log io.Writer = nil
@@ -45,7 +45,7 @@ func (dp *debugParser) logf(ps *State, result *Result, format string, args ...in
buf.WriteString(fmt.Sprintf("%-15s", ps.Preview(15)))
buf.WriteString(" | ")
buf.WriteString(strings.Repeat(" ", len(activeParsers)-1))
- buf.WriteString(fmt.Sprintf(format, args...))
+ buf.WriteString(fmt.Sprint(format, args...))
if ps.Errored() {
buf.WriteString(fmt.Sprintf(" did not find %s", ps.Error.expected))
} else if result != nil {