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

fix: update --web-socket-server description #4098

Merged
merged 1 commit into from Dec 11, 2021

Conversation

snitin315
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

Motivation / Use-Case

update --web-socket-server description.

Breaking Changes

None

Additional Info

No

@codecov
Copy link

codecov bot commented Dec 11, 2021

Codecov Report

Merging #4098 (e03ad2d) into master (ed5406d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4098   +/-   ##
=======================================
  Coverage   92.64%   92.64%           
=======================================
  Files          14       14           
  Lines        1481     1481           
  Branches      547      547           
=======================================
  Hits         1372     1372           
  Misses        101      101           
  Partials        8        8           
Impacted Files Coverage Δ
bin/cli-flags.js 100.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 ed5406d...e03ad2d. Read the comment docs.

@@ -1031,7 +1031,7 @@
"$ref": "#/definitions/WebSocketServerType"
}
],
"description": "Deprecated: please use 'webSocketServer.type'/'--web-socket-server-type' option."
"description": "Deprecated: please use '--web-socket-server-type' option."
Copy link
Member

Choose a reason for hiding this comment

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

not sure if displaying the flag makes sense when the user is using the feature from config

Copy link
Member Author

@snitin315 snitin315 Dec 11, 2021

Choose a reason for hiding this comment

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

Ideally, we should have a cliDescription property which webpack should respect if available. https://github.com/webpack/webpack/blob/c854e30df7f879d9989a7ab7aa83d1f0d1fa6862/lib/cli.js#L97

@snitin315 snitin315 merged commit 65955e9 into master Dec 11, 2021
@snitin315 snitin315 deleted the fix/websocketServer-description branch December 11, 2021 14:54
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.

None yet

3 participants