1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-17 01:32:22 +02:00

Linter Cleanup (#276)

* linter cleanup

* fix default case
This commit is contained in:
3timeslazy
2019-03-29 17:48:51 +03:00
committed by Tim Voronov
parent 752ee02cd1
commit de703513e4
41 changed files with 408 additions and 147 deletions

View File

@ -45,7 +45,7 @@ func Push(_ context.Context, args ...core.Value) (core.Value, error) {
arr.ForEach(func(item core.Value, idx int) bool {
if uniq && push {
push = !(item.Compare(value) == 0)
push = item.Compare(value) != 0
}
result.Push(item)