Skip to content

Commit a2856a7

Browse files
yiliang114haoqunjiang
authored andcommitted
chore(cli-service): word spelling in comments (#4367)
1 parent 76eb714 commit a2856a7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/@vue/cli-service/lib/commands/serve.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = (api, options) => {
7575
validateWebpackConfig(webpackConfig, api, options)
7676

7777
// load user devServer options with higher priority than devServer
78-
// in webpck config
78+
// in webpack config
7979
const projectDevServerOptions = Object.assign(
8080
webpackConfig.devServer || {},
8181
options.devServer
@@ -129,7 +129,7 @@ module.exports = (api, options) => {
129129
// explicitly configured via devServer.public
130130
? `?${publicUrl}/sockjs-node`
131131
: isInContainer
132-
// can't infer public netowrk url if inside a container...
132+
// can't infer public network url if inside a container...
133133
// use client-side inference (note this would break with non-root publicPath)
134134
? ``
135135
// otherwise infer the url

packages/@vue/cli/lib/GeneratorAPI.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ function renderFile (name, data, ejsOptions) {
426426
)
427427

428428
// use ejs.render to test the conditional expression
429-
// if evaluated to falsy vaule, return early to avoid extra cost for extend expression
429+
// if evaluated to falsy value, return early to avoid extra cost for extend expression
430430
const result = ejs.render(finalTemplate, data, ejsOptions)
431431
if (!result) {
432432
return

packages/@vue/cli/lib/upgrade.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class Upgrader {
205205
}
206206

207207
async checkForUpdates () {
208-
logWithSpinner('Gathering pacakage information...')
208+
logWithSpinner('Gathering package information...')
209209
const upgradable = await this.getUpgradable()
210210
stopSpinner()
211211

0 commit comments

Comments
 (0)