Skip to content

Commit

Permalink
[dev-tool] await onMigrationSkipped (Azure#26070)
Browse files Browse the repository at this point in the history
otherwise the ongoing git commit could cause subsequent migration to
fail when another git operation is invoked

### Packages impacted by this PR
dev-tool
  • Loading branch information
jeremymeng authored and dgetu committed Jun 5, 2023
1 parent 5c2c3b5 commit 8514c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/tools/dev-tool/src/commands/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ async function runMigrations(pending: Migration[], project: ProjectInfo): Promis
return false;
}
case "skipped": {
onMigrationSkipped(project, migration);
await onMigrationSkipped(project, migration);
continue;
}
default:
Expand Down

0 comments on commit 8514c00

Please sign in to comment.