Skip to content

Commit bfcb0ba

Browse files
authored
fix: description of client.port (#3321)
1 parent 0b6149c commit bfcb0ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
"enum": ["auto"]
250250
}
251251
],
252-
"description": "Tells clients connected to devServer to use the provided path to connect."
252+
"description": "Tells clients connected to devServer to use the provided port."
253253
},
254254
"logging": {
255255
"enum": ["none", "error", "warn", "info", "log", "verbose"],

test/__snapshots__/validate-options.test.js.snap.webpack4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ exports[`options validate should throw an error on the "client" option with '{"p
8383
"ValidationError: Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
8484
- configuration.client.port should be one of these:
8585
number | string | \\"auto\\"
86-
-> Tells clients connected to devServer to use the provided path to connect.
86+
-> Tells clients connected to devServer to use the provided port.
8787
Details:
8888
* configuration.client.port should be a number.
8989
* configuration.client.port should be a string.

test/__snapshots__/validate-options.test.js.snap.webpack5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ exports[`options validate should throw an error on the "client" option with '{"p
8383
"ValidationError: Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
8484
- configuration.client.port should be one of these:
8585
number | string | \\"auto\\"
86-
-> Tells clients connected to devServer to use the provided path to connect.
86+
-> Tells clients connected to devServer to use the provided port.
8787
Details:
8888
* configuration.client.port should be a number.
8989
* configuration.client.port should be a string.

0 commit comments

Comments
 (0)