From dcf1ecac7a10ecd0aea133b075438b3949c33e84 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 2 Sep 2021 02:17:28 -0700 Subject: fix(space): typos --- pkg/utilities/utilities.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/utilities') diff --git a/pkg/utilities/utilities.go b/pkg/utilities/utilities.go index f2e4e6c..2ccbf63 100644 --- a/pkg/utilities/utilities.go +++ b/pkg/utilities/utilities.go @@ -28,16 +28,16 @@ func GetCopyright() string { // DoesFilesExist Check if the following files exist, return files that don't exist func DoesFilesExist(files []string) []string { - nonExistant := []string{} + nonExistent := []string{} for _, file := range files { // https://stackoverflow.com/a/12518877 if _, err := os.Stat(file); os.IsNotExist(err) { - nonExistant = append(nonExistant, file) + nonExistent = append(nonExistent, file) } } - return nonExistant + return nonExistent } func TrimLastChar(s string) string { -- cgit v1.2.3