mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-17 02:22:46 +00:00
Modified the if conditional because of which after threw an error if called with 0 as index. The function now returns the whole original slice if 0 is passed as an index. Also added tests to test the new behavior. Fixes #6388 |
||
---|---|---|
.. | ||
append.go | ||
append_test.go | ||
apply.go | ||
apply_test.go | ||
collections.go | ||
collections_test.go | ||
complement.go | ||
complement_test.go | ||
index.go | ||
index_test.go | ||
init.go | ||
init_test.go | ||
merge.go | ||
merge_test.go | ||
reflect_helpers.go | ||
sort.go | ||
sort_test.go | ||
symdiff.go | ||
symdiff_test.go | ||
where.go | ||
where_test.go |