Skip to content

Commit 6d680bc

Browse files
committed
fix(migrator): correctly extract config fields to files
1 parent 246c197 commit 6d680bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@vue/cli/lib/Migrator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = class Migrator extends Generator {
2222
this.invoking = invoking
2323
}
2424

25-
async generate () {
25+
async generate (...args) {
2626
const plugin = this.migratorPlugin
2727

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

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

39-
await super.generate()
39+
await super.generate(...args)
4040
}
4141
}

0 commit comments

Comments
 (0)