Skip to content

Commit 35b0b4f

Browse files
clydinKeen Yee Liau
authored andcommitted
fix(@angular/cli): enable analytics for safe builders
Fixes #14355
1 parent 6f13a24 commit 35b0b4f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/angular/cli/models/architect-command.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ export abstract class ArchitectCommand<
264264
const run = await this._architect.scheduleTarget(
265265
target,
266266
overrides as json.JsonObject,
267-
{ logger: this.logger },
267+
{
268+
logger: this.logger,
269+
analytics: isPackageNameSafeForAnalytics(builderConf) ? this.analytics : undefined,
270+
},
268271
);
269272

270273
const result = await run.output.toPromise();

0 commit comments

Comments
 (0)