Closed retgits closed 6 years ago
What kind of change does this PR introduce? (check one with "x")
[X] Bugfix [] Feature [] Code style update (formatting, local variables) [] Refactoring (no functional changes, no api changes) [] Other... Please describe:
Fixes: #107
What is the current behavior?
The command flogo version will throw an error if the GOPATH environment variable isn't set (which isn't a requirement anymore)
flogo version
GOPATH
What is the new behavior?
The command flogo version will check if the GOPATH is set and otherwise will get the data from go env
go env
What kind of change does this PR introduce? (check one with "x")
Fixes: #107
What is the current behavior?
The command
flogo version
will throw an error if theGOPATH
environment variable isn't set (which isn't a requirement anymore)What is the new behavior?
The command
flogo version
will check if theGOPATH
is set and otherwise will get the data fromgo env