diff options
| author | Fuwn <[email protected]> | 2021-09-02 02:17:28 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-09-02 02:17:28 -0700 |
| commit | dcf1ecac7a10ecd0aea133b075438b3949c33e84 (patch) | |
| tree | b6e676512c8a36d70db006730ace71b97d66d964 /pkg/utilities | |
| parent | chore(utilities): fix doc-comment (diff) | |
| download | space-dcf1ecac7a10ecd0aea133b075438b3949c33e84.tar.xz space-dcf1ecac7a10ecd0aea133b075438b3949c33e84.zip | |
fix(space): typos
Diffstat (limited to 'pkg/utilities')
| -rw-r--r-- | pkg/utilities/utilities.go | 6 |
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 { |