Skip to content

Commit c73d967

Browse files
buelsenfruchthaoqunjiang
authored andcommitted
chore: fix typo (#2321) [ci skip]
1 parent c9cc225 commit c73d967

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/@vue/cli-service/lib/Service.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ module.exports = class Service {
257257

258258
loadUserOptions () {
259259
// vue.config.js
260-
let fileConfig, pkgConfig, resolved, resovledFrom
260+
let fileConfig, pkgConfig, resolved, resolvedFrom
261261
const configPath = (
262262
process.env.VUE_CLI_SERVICE_CONFIG_PATH ||
263263
path.resolve(this.context, 'vue.config.js')
@@ -299,13 +299,13 @@ module.exports = class Service {
299299
)
300300
}
301301
resolved = fileConfig
302-
resovledFrom = 'vue.config.js'
302+
resolvedFrom = 'vue.config.js'
303303
} else if (pkgConfig) {
304304
resolved = pkgConfig
305-
resovledFrom = '"vue" field in package.json'
305+
resolvedFrom = '"vue" field in package.json'
306306
} else {
307307
resolved = this.inlineOptions || {}
308-
resovledFrom = 'inline options'
308+
resolvedFrom = 'inline options'
309309
}
310310

311311
// normalize some options
@@ -327,7 +327,7 @@ module.exports = class Service {
327327
// validate options
328328
validate(resolved, msg => {
329329
error(
330-
`Invalid options in ${chalk.bold(resovledFrom)}: ${msg}`
330+
`Invalid options in ${chalk.bold(resolvedFrom)}: ${msg}`
331331
)
332332
})
333333

0 commit comments

Comments
 (0)