Skip to content

Commit 3912fde

Browse files
clydinKeen Yee Liau
authored and
Keen Yee Liau
committed
fix(@angular/cli): enable analytics for safe builders
Fixes #14355
1 parent 061b941 commit 3912fde

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-1
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)