From b56dae8120d43b9acd3d3ed4d40100ffab7b972a Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Mon, 2 May 2022 14:05:18 +0100 Subject: [chore] Update all but bun libraries (#526) * update all but bun libraries Signed-off-by: kim * remove my personal build script changes Signed-off-by: kim --- internal/util/unique.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/util/unique.go') diff --git a/internal/util/unique.go b/internal/util/unique.go index 71787d899..be97a57b0 100644 --- a/internal/util/unique.go +++ b/internal/util/unique.go @@ -20,7 +20,7 @@ package util // UniqueStrings returns a deduplicated version of a given string slice. func UniqueStrings(s []string) []string { - keys := make(map[string]bool) + keys := make(map[string]bool, len(s)) list := []string{} for _, entry := range s { if _, value := keys[entry]; !value { -- cgit v1.2.3