- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.3k
refactor: open function #5257
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
refactor: open function #5257
Conversation
There was no clear reason as to why we needed to use type assertions when initializing both `args` and `options` in `open` so I refactored them both.
| ✨ code-server docs for PR #5257 is ready! It will be updated on every commit. 
 | 
| Codecov Report
 @@            Coverage Diff             @@
##             main    #5257      +/-   ##
==========================================
+ Coverage   72.12%   72.47%   +0.34%     
==========================================
  Files          30       30              
  Lines        1668     1671       +3     
  Branches      367      367              
==========================================
+ Hits         1203     1211       +8     
+ Misses        399      397       -2     
+ Partials       66       63       -3     
 Continue to review full report at Codecov. 
 | 
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.
Looks great!
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.
Whoops forgot to select approve.
This PR refactors
opento remove some unnecessary things and make it easier to test.Related #5153