From 3322278f7c333f91ca9bb9808b068a7d2725530e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Sun, 16 Jun 2019 11:20:10 +0200 Subject: [PATCH] vektah -> oec --- debug/frames.go | 2 +- debugon.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debug/frames.go b/debug/frames.go index 2110dcd..e603349 100644 --- a/debug/frames.go +++ b/debug/frames.go @@ -52,7 +52,7 @@ func GetDefinition() (varName string, location string) { for more { frame, more = frames.Next() pkg := getPackageName(frame) - if pkg == "github.com/vektah/goparsify" || pkg == "github.com/vektah/goparsify/debug" { + if pkg == "github.com/oec/goparsify" || pkg == "github.com/oec/goparsify/debug" { continue } 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 {