We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a803dea commit cf34943Copy full SHA for cf34943
packages/angular/cli/commands/update-impl.ts
@@ -59,7 +59,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
59
options = {},
60
): Promise<{ success: boolean; files: Set<string> }> {
61
let error = false;
62
- const logs: string[] = [];
+ let logs: string[] = [];
63
const files = new Set<string>();
64
65
const reporterSubscription = this.workflow.reporter.subscribe(event => {
@@ -96,6 +96,7 @@ export class UpdateCommand extends Command<UpdateCommandSchema> {
96
if (!error) {
97
// Output the logging queue, no error happened.
98
logs.forEach(log => this.logger.info(log));
99
+ logs = [];
100
}
101
102
});
0 commit comments