diff --git a/.gitignore b/.gitignore index 0ed8184ba..71b4a57fe 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.dll *.so *.dylib +*.zip # Test binary, build with `go test -c` *.test @@ -16,3 +17,4 @@ css .sass-cache space-cloud +publish.sh \ No newline at end of file diff --git a/utils/store.go b/utils/store.go index ee0ee5e7a..ba2cd4224 100644 --- a/utils/store.go +++ b/utils/store.go @@ -65,9 +65,9 @@ func LoadValue(key string, state map[string]interface{}) (interface{}, error) { if strings.HasPrefix(function, "exists") { _, err := LoadValue(function[pre+1:post], state) return err == nil, nil - } else { - return nil, errors.New("Invalid utils operation") } + + return nil, errors.New("Invalid utils operation") } scope, present := state[tempArray[0]]