Some linter errors.
This commit is contained in:
parent
947d2df47e
commit
0b00a6b12c
4 changed files with 12 additions and 7 deletions
|
|
@ -50,9 +50,8 @@ func getSliceElemPtrAt(slicePtrValue reflect.Value, index int) reflect.Value {
|
|||
}
|
||||
|
||||
func appendElemToSlice(slicePtrValue reflect.Value, objPtrValue reflect.Value) error {
|
||||
if slicePtrValue.IsNil() {
|
||||
panic("jet: internal, slice is nil")
|
||||
}
|
||||
utils.MustBeTrue(!slicePtrValue.IsNil(), "jet: internal, slice is nil")
|
||||
|
||||
sliceValue := slicePtrValue.Elem()
|
||||
sliceElemType := sliceValue.Type().Elem()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue