mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-10-28 03:59:58 -04:00
Be more specific about where we failed
This commit is contained in:
1 parent
82837cc7c1
commit
a26f6208da
1 file changed
+1
-1
@@ -63,7 +63,7 @@ func NewTermRendererFromBytes(b []byte, options ansi.Options) (*TermRenderer, er
|
|||||||
err := json.Unmarshal(b, &options.Styles)
|
err := json.Unmarshal(b, &options.Styles)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// FIXME: wrap error once we depend on Go 1.13
|
// FIXME: wrap error once we depend on Go 1.13
|
||||||
return nil, fmt.Errorf("loading style: %v", err)
|
return nil, fmt.Errorf("parsing style: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
md := goldmark.New(
|
md := goldmark.New(
|
||||||
|
|||||||
Reference in new issue
Block a user