MCPcopy
hub / github.com/angular/angular-cli / addTask

Function addTask

packages/schematics/angular/utility/dependency_spec.ts:39–41  ·  view source on GitHub ↗
(task: TaskConfigurationGenerator)

Source from the content-addressed store, hash-verified

37 const logs: LogEntry[] = [];
38 const context = {
39 addTask(task: TaskConfigurationGenerator) {
40 tasks.push(task);
41 },
42 logger: {
43 warn(message: string): void {
44 logs.push({ type: 'warn', message });

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected