TIBCOSoftware / flogo-cli

Project Flogo Command Line Interface
http://flogo.io
BSD 3-Clause "New" or "Revised" License
57 stars 28 forks source link

Update to version command #108

Closed retgits closed 6 years ago

retgits commented 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)

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