-
Notifications
You must be signed in to change notification settings - Fork 585
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
Copy missing changes from legacy NuGet helpers #1596
Copy missing changes from legacy NuGet helpers #1596
Conversation
It's strange that build failed... Could you advice what is the reason? I haven't modified the |
Don't worry about it. Travis was broken for some time now because of a mono bug. |
Thanks. In this case will be looking forward to the code review 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this module is considered legacy (ie. people should use paket :P) I'm fine with accepting this as-is.
with exn -> | ||
if exn.InnerException <> null then exn.Message + "\r\n" + exn.InnerException.Message else exn.Message | ||
|> replaceAccessKeys parameters | ||
|> failwith |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since fsprojects/Paket#2423 I'm no longer a huge fan of failwith
in a general with
clause.
But it's not clear how we can remove the access keys in a secure way. They probably shouldn't be part of the error message in the first place if possible :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, probably we should find more graceful solution as I also don't like those e. Message + e.InnerException.Message
. However, currently I'd prefer to make this PR simple and just copy the missing changes.
Thanks! |
The following PRs were abandoned during the NuGet helpers migration to a new project: #1530, #1549 and #1551. This PR copies that changes.
P.S. @matthid Please review the other recent PRs and ensure that their changes were migrated as well 😉