Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
YourTechBud committed Feb 27, 2019
1 parent 6c32a64 commit 867f966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.dll
*.so
*.dylib
*.zip

# Test binary, build with `go test -c`
*.test
Expand All @@ -16,3 +17,4 @@ css
.sass-cache

space-cloud
publish.sh
4 changes: 2 additions & 2 deletions utils/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit 867f966

Please sign in to comment.