Skip to content

Commit c7d2c9d

Browse files
committed
clean up progress option typo and options def
1 parent 0df1fa7 commit c7d2c9d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Server(compiler, options) {
5656
if (this.progress) {
5757
const progressPlugin = new webpack.ProgressPlugin((percent, msg, addInfo) => {
5858
percent = Math.floor(percent * 100);
59-
if (percent === 100) msg = 'Compilation competed';
59+
if (percent === 100) msg = 'Compilation completed';
6060
if (addInfo) msg = `${msg} (${addInfo})`;
6161
this.sockWrite(this.sockets, 'progress-update', { percent, msg });
6262
});

lib/optionsSchema.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,7 @@
9999
},
100100
"progress": {
101101
"description": "Shows compilation progress in browser console.",
102-
"anyOf": [
103-
{
104-
"type": "boolean"
105-
}
106-
]
102+
"type": "boolean"
107103
},
108104
"key": {
109105
"description": "The contents of a SSL key.",

0 commit comments

Comments
 (0)