Skip to content
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

[WIP] - Upgrade flow to 0.75.0 #7856

Closed
wants to merge 16 commits into from
Closed

[WIP] - Upgrade flow to 0.75.0 #7856

wants to merge 16 commits into from

Conversation

olingern
Copy link
Contributor

@olingern olingern commented Jan 30, 2020

Summary
Currently a work in progress. A few more errors to fix and I may bump the version a bit more if not too many changes are required. There are a lot of open PR's so I want rebasing to be as easy as possible while ensuring any new code is not taking any steps backwards in terms of typing / soundness.


Before I finish up #7848, I wanted some sanity for the code I was writing + a working language server for vscode. This is a minimal upgrade to v0.75.0. Attempting to get to v0.117.0 appears to be quite painful. Any assistance from the flow team is welcome 🙂

Test plan

  • All tests pass
  • yarn lint returns no errors

@olingern olingern changed the title Upgrade flow to 0.75.0 [WIP] - Upgrade flow to 0.75.0 Jan 30, 2020
@@ -17,6 +17,7 @@ export type Tree = {
hint?: ?string,
hidden?: boolean,
color?: ?string,
shadow?: ?String,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

String should be string

@@ -610,6 +612,7 @@ export class Install {
steps.push((curr: number, total: number) =>
callThroughHook('auditStep', async () => {
this.reporter.step(curr, total, this.reporter.lang('auditRunning'), emoji.get('mag'));

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

if (typeof params.cleanup === 'function') {
params.cleanup();
}

opts.retryReason = reason;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unclear whether this was ever used anywhere. I could not find any traces of request-manager having a cleanup function bound to its options, but I'll do one more pass just make sure.

@olingern olingern closed this Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant