Skip to content

refactor: utils and server #1943

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

Merged
merged 2 commits into from
Jun 1, 2019

Conversation

alexander-akait
Copy link
Member

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

no need

Motivation / Use-Case

move opn login to own util like bonjour

We should move opn logic from status util because it is misleading status should only output logs (based on name of util), so let's do it in next pr

Breaking Changes

No

Additional Info

No

@alexander-akait alexander-akait requested a review from hiroppy as a code owner May 31, 2019 17:18
@codecov
Copy link

codecov bot commented May 31, 2019

Codecov Report

Merging #1943 into master will increase coverage by 0.04%.
The diff coverage is 84.21%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1943      +/-   ##
==========================================
+ Coverage    91.5%   91.54%   +0.04%     
==========================================
  Files          18       19       +1     
  Lines         836      840       +4     
  Branches      263      263              
==========================================
+ Hits          765      769       +4     
  Misses         68       68              
  Partials        3        3
Impacted Files Coverage Δ
lib/Server.js 92.22% <100%> (ø) ⬆️
lib/utils/status.js 90% <100%> (+9.23%) ⬆️
lib/utils/runOpen.js 70% <70%> (ø)

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 8cf1053...6e1aed7. Read the comment docs.


const open = require('opn');

function runBonjour(uri, options, log) {
Copy link
Member

Choose a reason for hiding this comment

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

runBonjour should be renamed.

Copy link
Member Author

Choose a reason for hiding this comment

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

👍

@alexander-akait alexander-akait force-pushed the refactor-webpack-dev-server-utils-and-code branch from 2db47c3 to 7f620d6 Compare June 1, 2019 14:11
@alexander-akait
Copy link
Member Author

/cc @hiroppy

Copy link
Member

@hiroppy hiroppy left a comment

Choose a reason for hiding this comment

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

👍

@alexander-akait alexander-akait merged commit fb31770 into master Jun 1, 2019
@alexander-akait alexander-akait deleted the refactor-webpack-dev-server-utils-and-code branch June 1, 2019 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants