chore(cli-service): word spelling in comments (#4367)

This commit is contained in:
yiliang
2019-07-28 20:39:42 +08:00
committed by Haoqun Jiang
parent 76eb7146ca
commit a2856a750c
3 changed files with 4 additions and 4 deletions
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -205,7 +205,7 @@ class Upgrader {
}
async checkForUpdates () {
logWithSpinner('Gathering pacakage information...')
logWithSpinner('Gathering package information...')
const upgradable = await this.getUpgradable()
stopSpinner()