aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-09-02 02:17:28 -0700
committerFuwn <[email protected]>2021-09-02 02:17:28 -0700
commitdcf1ecac7a10ecd0aea133b075438b3949c33e84 (patch)
treeb6e676512c8a36d70db006730ace71b97d66d964 /pkg/utilities
parentchore(utilities): fix doc-comment (diff)
downloadspace-dcf1ecac7a10ecd0aea133b075438b3949c33e84.tar.xz
space-dcf1ecac7a10ecd0aea133b075438b3949c33e84.zip
fix(space): typos
Diffstat (limited to 'pkg/utilities')
-rw-r--r--pkg/utilities/utilities.go6
1 files changed, 3 insertions, 3 deletions
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 {