Skip to content

Commit da66f93

Browse files
author
Guillaume Chau
committed
fix(task): remove non-running missing tasks
1 parent 23a05fc commit da66f93

File tree

1 file changed

+2
-2
lines changed
  • packages/@vue/cli-ui/apollo-server/connectors

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ async function list ({ file = null, api = true } = {}, context) {
113113
})
114114
)
115115

116-
// Keep existing or ran tasks
116+
// Keep existing running tasks
117117
list = list.filter(
118118
task => existing.get(task.id) ||
119-
task.status !== 'idle'
119+
task.status === 'running'
120120
)
121121

122122
// Add the new tasks

0 commit comments

Comments
 (0)