Skip to content

Commit

Permalink
fix(@angular/cli): enable analytics for safe builders
Browse files Browse the repository at this point in the history
Fixes #14355
  • Loading branch information
clydin authored and Keen Yee Liau committed May 13, 2019
1 parent 061b941 commit 3912fde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/angular/cli/models/architect-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ export abstract class ArchitectCommand<
const run = await this._architect.scheduleTarget(
target,
overrides as json.JsonObject,
{ logger: this.logger },
{
logger: this.logger,
analytics: isPackageNameSafeForAnalytics(builderConf) ? this.analytics : undefined,
},
);

const result = await run.output.toPromise();
Expand Down

0 comments on commit 3912fde

Please sign in to comment.