feat(caprover): allow to trigger an application update
+ added test coverage
This commit is contained in:
@@ -7,7 +7,6 @@ export default class ApplicationUpdates implements DomainProjection {
|
||||
private readonly pendingUpdates: UpdateDefinition[] = [];
|
||||
handle(event: DomainEvent<any>): void {
|
||||
if (event.type === "ApplicationUpdateStarted") {
|
||||
console.log("ApplicationUpdateStarted", event.payload);
|
||||
this.pendingUpdates.push(event.payload);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user