chore: fix typo (#2321) [ci skip]

This commit is contained in:
Jascha Lülsdorf
2018-09-05 08:28:38 +02:00
committed by Haoqun Jiang
parent c9cc225866
commit c73d9673dc

View File

@@ -257,7 +257,7 @@ module.exports = class Service {
loadUserOptions () {
// vue.config.js
let fileConfig, pkgConfig, resolved, resovledFrom
let fileConfig, pkgConfig, resolved, resolvedFrom
const configPath = (
process.env.VUE_CLI_SERVICE_CONFIG_PATH ||
path.resolve(this.context, 'vue.config.js')
@@ -299,13 +299,13 @@ module.exports = class Service {
)
}
resolved = fileConfig
resovledFrom = 'vue.config.js'
resolvedFrom = 'vue.config.js'
} else if (pkgConfig) {
resolved = pkgConfig
resovledFrom = '"vue" field in package.json'
resolvedFrom = '"vue" field in package.json'
} else {
resolved = this.inlineOptions || {}
resovledFrom = 'inline options'
resolvedFrom = 'inline options'
}
// normalize some options
@@ -327,7 +327,7 @@ module.exports = class Service {
// validate options
validate(resolved, msg => {
error(
`Invalid options in ${chalk.bold(resovledFrom)}: ${msg}`
`Invalid options in ${chalk.bold(resolvedFrom)}: ${msg}`
)
})