Skip to content

Commit 4f910b1

Browse files
author
Guillaume Chau
committed
fix: update all plugins
1 parent d589d35 commit 4f910b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@vue/cli-ui/apollo-server/connectors/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ function update (id, context) {
436436

437437
async function updateAll (context) {
438438
return progress.wrap('plugins-update', context, async setProgress => {
439-
const plugins = list(cwd.get(), context, { resetApi: false })
439+
const plugins = await list(cwd.get(), context, { resetApi: false })
440440
let updatedPlugins = []
441441
for (const plugin of plugins) {
442442
const version = await dependencies.getVersion(plugin, context)

packages/@vue/cli-ui/apollo-server/connectors/projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ async function open (id, context) {
380380
// Reset locales
381381
locales.reset(context)
382382
// Load plugins
383-
plugins.list(project.path, context)
383+
await plugins.list(project.path, context)
384384

385385
// Date
386386
context.db.get('projects').find({ id }).assign({

0 commit comments

Comments
 (0)