Skip to content

Commit bacda09

Browse files
committed
Removed dependency on pkg/errors, did not really need it
1 parent b1b16f7 commit bacda09

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jsone.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ import (
1111
"time"
1212
"unicode"
1313

14-
"github.com/pkg/errors"
1514
i "github.com/taskcluster/json-e/interpreter"
1615
)
1716

1817
// Render template with given context
1918
func Render(template interface{}, context map[string]interface{}) (interface{}, error) {
2019
// Validate input
2120
if err := i.IsValidContext(context); err != nil {
22-
panic(errors.Wrap(err, "invalid context"))
21+
panic(err)
2322
}
2423

2524
// Inherit functions from builtins

0 commit comments

Comments
 (0)