aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-09-02 02:18:14 -0700
committerFuwn <[email protected]>2021-09-02 02:18:14 -0700
commita11b6fd539712650c69b8a2a87b2021702f29db7 (patch)
tree7f5c58cfe79b681ada51e96383c6dab99b0736d1 /pkg/utilities
parentfix(space): typos (diff)
downloadspace-a11b6fd539712650c69b8a2a87b2021702f29db7.tar.xz
space-a11b6fd539712650c69b8a2a87b2021702f29db7.zip
refactor(utilities): nil-type decleration
Diffstat (limited to 'pkg/utilities')
-rw-r--r--pkg/utilities/utilities.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/utilities/utilities.go b/pkg/utilities/utilities.go
index 2ccbf63..4461755 100644
--- a/pkg/utilities/utilities.go
+++ b/pkg/utilities/utilities.go
@@ -28,7 +28,7 @@ func GetCopyright() string {
// DoesFilesExist Check if the following files exist, return files that don't exist
func DoesFilesExist(files []string) []string {
- nonExistent := []string{}
+ var nonExistent []string
for _, file := range files {
// https://stackoverflow.com/a/12518877