-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Conversation
@@ -17,6 +17,7 @@ export type Tree = { | |||
hint?: ?string, | |||
hidden?: boolean, | |||
color?: ?string, | |||
shadow?: ?String, |
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.
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')); | |||
|
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.
remove
if (typeof params.cleanup === 'function') { | ||
params.cleanup(); | ||
} | ||
|
||
opts.retryReason = reason; |
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.
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.
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 tov0.117.0
appears to be quite painful. Any assistance from the flow team is welcome 🙂Test plan
yarn lint
returns no errors