-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download command failed on MacOS #32
Comments
alexellis
added a commit
that referenced
this issue
Jan 23, 2020
Added unit tests to make sure the binary name is created as per the releases page. Tested on MacOS and with new unit tests to show no regression for Linux etc. Fixes: #32 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@Waterdrips perhaps you can write a Go unit test that runs the command then checks the binary is as expected? I used the
There may be other ways to do this too. |
alexellis
added a commit
that referenced
this issue
Jan 23, 2020
Added unit tests to make sure the binary name is created as per the releases page. Tested on MacOS and with new unit tests to show no regression for Linux etc. Fixes: #32 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour
inletsctl download --pro
should get me a MacOS binary when using Mac, but it was a Linux binary that was downloadedPossible Solution
Add unit tests and fix bug.
Steps to Reproduce (for bugs)
inletsctl download --pro
cc @Waterdrips
The text was updated successfully, but these errors were encountered: