mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-09-29 16:57:06 +08:00
chore(cli-service): word spelling in comments (#4367)
This commit is contained in:
@@ -75,7 +75,7 @@ module.exports = (api, options) => {
|
||||
validateWebpackConfig(webpackConfig, api, options)
|
||||
|
||||
// load user devServer options with higher priority than devServer
|
||||
// in webpck config
|
||||
// in webpack config
|
||||
const projectDevServerOptions = Object.assign(
|
||||
webpackConfig.devServer || {},
|
||||
options.devServer
|
||||
@@ -129,7 +129,7 @@ module.exports = (api, options) => {
|
||||
// explicitly configured via devServer.public
|
||||
? `?${publicUrl}/sockjs-node`
|
||||
: isInContainer
|
||||
// can't infer public netowrk url if inside a container...
|
||||
// can't infer public network url if inside a container...
|
||||
// use client-side inference (note this would break with non-root publicPath)
|
||||
? ``
|
||||
// otherwise infer the url
|
||||
|
||||
@@ -426,7 +426,7 @@ function renderFile (name, data, ejsOptions) {
|
||||
)
|
||||
|
||||
// use ejs.render to test the conditional expression
|
||||
// if evaluated to falsy vaule, return early to avoid extra cost for extend expression
|
||||
// if evaluated to falsy value, return early to avoid extra cost for extend expression
|
||||
const result = ejs.render(finalTemplate, data, ejsOptions)
|
||||
if (!result) {
|
||||
return
|
||||
|
||||
@@ -205,7 +205,7 @@ class Upgrader {
|
||||
}
|
||||
|
||||
async checkForUpdates () {
|
||||
logWithSpinner('Gathering pacakage information...')
|
||||
logWithSpinner('Gathering package information...')
|
||||
const upgradable = await this.getUpgradable()
|
||||
stopSpinner()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user