@automattic/vip 2.27.0-dev4 → 2.27.0-dev5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -231,7 +231,7 @@ class ExportSQLCommand {
231
231
  latestBackup,
232
232
  jobs
233
233
  } = await fetchLatestBackupAndJobStatus(this.app.id, this.env.id);
234
- this.runningJobs = jobs;
234
+ this.runningJobs = jobs.filter(job => job.progress.status === 'running');
235
235
 
236
236
  // Find the job that generates the export for the latest backup
237
237
  return jobs.find(job => {
@@ -319,7 +319,7 @@ class ExportSQLCommand {
319
319
  latestBackup,
320
320
  jobs
321
321
  } = await fetchLatestBackupAndJobStatus(this.app.id, this.env.id);
322
- this.runningJobs = jobs;
322
+ this.runningJobs = jobs.filter(job => job.progress.status === 'running');
323
323
  if (!latestBackup) {
324
324
  exit.withError(`No backup found for site ${this.app.name}`);
325
325
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/vip",
3
- "version": "2.27.0-dev4",
3
+ "version": "2.27.0-dev5",
4
4
  "description": "The VIP Javascript library & CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
Binary file