Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Program returns error code 1 when -required argument is used and no failure occurred #17

Closed
AdmiringWorm opened this issue Jun 3, 2017 · 8 comments · Fixed by #18
Closed

Comments

@AdmiringWorm
Copy link
Collaborator

AdmiringWorm commented Jun 3, 2017

When calling codecov-exe and the -required argument have been used, the program returns an error code of 1 even if the upload actually succeeded.

This looks like it occurs because of the following line in the Run.cs file:

I'm willing to open a PR if interested

/cc @stevepeak @larzw

@larzw
Copy link
Collaborator

larzw commented Jun 3, 2017

@AdmiringWorm,
Thanks for reporting this! A pr is very welcome.

@AdmiringWorm
Copy link
Collaborator Author

I'll open a PR shortly, it's just a 1 line change though if I'm correct in my assumption.

@larzw
Copy link
Collaborator

larzw commented Jun 3, 2017

Great..I'll push out a new version to nuget when your done and I'm back to my computer.

@AdmiringWorm
Copy link
Collaborator Author

@larzw just opened the PR (will automatically close this one on merge).

BTW, I may have some suggestions sometime in the future for improvements on the chocolatey package.

@larzw larzw closed this as completed in #18 Jun 3, 2017
larzw added a commit that referenced this issue Jun 3, 2017
…-success

(GH-17) Fixing codecov-exe returning error code 1 on success
@larzw
Copy link
Collaborator

larzw commented Jun 3, 2017

Just merged...I would love feedback on my chocolatey package! This is my first choco package I've created.

@AdmiringWorm
Copy link
Collaborator Author

@larzw mind letting me know when it's available on nuget?
Just waiting on it before I can finalize the PR to Cake.Recipe.

@larzw
Copy link
Collaborator

larzw commented Jun 3, 2017

Yup! I'll ping you in gitter when it's ready..maybe in an hour or so..

@AdmiringWorm
Copy link
Collaborator Author

@larzw just had a quick look at the chocolatey nuspec and powershell files, and the first things that popped out was that the software should be embedded (in this case, the powershell could be removed, but a VERIFICATION.txt and LICENSE.txt file would need to be added, the former because the mods and users need a way to verify it comes from an official distribution point).
Another point is that it's missing the bugTrackerUrl (or I didn't see it anyhow).

But in all, it's quite good TBH.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants