-
Notifications
You must be signed in to change notification settings - Fork 84
Improve Swiftly installation progress notification #1901
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,8 +5,8 @@ | |
| "rootDir": ".", | ||
| "outDir": "dist", | ||
|
|
||
| "lib": ["ES2021"], | ||
| "target": "ES2020", | ||
| "lib": ["ES2022"], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need to bump for this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is to get error causations. So, you can provide a cause (kind of like in Java) for your errors: try {
// Do something that will throw
} catch (error) {
throw new Error("Something went wrong", { cause: error });
}NodeJS will print the stack trace of both errors in this case so that we don't have to do this manually like what was in the existing code. |
||
| "target": "ES2022", | ||
| "module": "commonjs", | ||
|
|
||
| "strict": true, | ||
|
|
||
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.
how funky would it be to popup a withProgress notification? That way at least get the progress animation
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.
This is within a withProgress notification. Resetting the progress to 0 resets the animation.