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

refactor: open function #5257

Merged
merged 6 commits into from
Jun 15, 2022
Merged

refactor: open function #5257

merged 6 commits into from
Jun 15, 2022

Conversation

jsjoeio
Copy link
Contributor

@jsjoeio jsjoeio commented Jun 10, 2022

This PR refactors open to remove some unnecessary things and make it easier to test.

Related #5153

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.
@jsjoeio jsjoeio added the testing Anything related to testing label Jun 10, 2022
@jsjoeio jsjoeio added this to the June 2022 milestone Jun 10, 2022
@jsjoeio jsjoeio self-assigned this Jun 10, 2022
@github-actions
Copy link

github-actions bot commented Jun 10, 2022

✨ code-server docs for PR #5257 is ready! It will be updated on every commit.

@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #5257 (fc9acb4) into main (113ad85) will increase coverage by 0.34%.
The diff coverage is 72.72%.

Impacted file tree graph

@@            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     
Impacted Files Coverage Δ
src/node/util.ts 91.57% <72.72%> ( 3.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 113ad85...fc9acb4. Read the comment docs.

@jsjoeio jsjoeio temporarily deployed to npm June 10, 2022 22:53 Inactive
@github-actions
Copy link

github-actions bot commented Jun 10, 2022

✨ code-server dev build published to npm for PR #5257!

  • Last publish status: success
  • Commit: fc9acb4

To install in a local project, run:

npm install @coder/code-server-pr@5257

To install globally, run:

npm install -g @coder/code-server-pr@5257

@jsjoeio jsjoeio marked this pull request as ready for review June 10, 2022 23:04
@jsjoeio jsjoeio requested a review from a team June 10, 2022 23:04
@jsjoeio jsjoeio temporarily deployed to npm June 10, 2022 23:08 Inactive
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

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

Looks great!

Copy link
Member

@code-asher code-asher left a 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.

@jsjoeio jsjoeio enabled auto-merge (squash) June 13, 2022 20:52
@jsjoeio jsjoeio temporarily deployed to npm June 13, 2022 20:57 Inactive
@jsjoeio jsjoeio temporarily deployed to npm June 15, 2022 20:11 Inactive
@jsjoeio jsjoeio temporarily deployed to npm June 15, 2022 20:37 Inactive
@jsjoeio jsjoeio merged commit 61138b4 into main Jun 15, 2022
@jsjoeio jsjoeio deleted the jsjoeio/refactor-open branch June 15, 2022 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Anything related to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants