Skip to content

Commit

Permalink
fix(migrator): correctly extract config fields to files
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Feb 6, 2020
1 parent 246c197 commit 6d680bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@vue/cli/lib/Migrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = class Migrator extends Generator {
this.invoking = invoking
}

async generate () {
async generate (...args) {
const plugin = this.migratorPlugin

// apply migrators from plugins
Expand All @@ -36,6 +36,6 @@ module.exports = class Migrator extends Generator {

await plugin.apply(api, plugin.options, this.rootOptions, this.invoking)

await super.generate()
await super.generate(...args)
}
}

0 comments on commit 6d680bc

Please sign in to comment.