Skip to content

Commit

Permalink
fix: fix invoke output
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 5, 2018
1 parent 1ddeefc commit d65a251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/@vue/cli-service/generator/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ module.exports = (api, options) => {
</div>
</template>
`.trim())
console.log(files[`src/App.vue`])
}
})

Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli/lib/invoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async function runGenerator (context, plugin, pkg = getPkg(context)) {
})

log()
logWithSpinner('🚀', `Invoking generator for ${plugin.id}...`)
log(`🚀 Invoking generator for ${plugin.id}...`)
await generator.generate({
extractConfigFiles: true,
checkExisting: true
Expand All @@ -118,7 +118,7 @@ async function runGenerator (context, plugin, pkg = getPkg(context)) {
JSON.stringify(newDevDeps) !== JSON.stringify(pkg.devDependencies)

if (!isTestOrDebug && depsChanged) {
logWithSpinner('📦', `Installing additional dependencies...`)
log(`📦 Installing additional dependencies...`)
const packageManager =
loadOptions().packageManager || (hasYarn() ? 'yarn' : 'npm')
await installDeps(context, packageManager)
Expand Down

0 comments on commit d65a251

Please sign in to comment.