Skip to content

Commit 548fefd

Browse files
clydinKeen Yee Liau
authored and
Keen Yee Liau
committed
docs(@angular-devkit/architect): add comment about deprecated workspace usage
1 parent 8214be4 commit 548fefd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎packages/angular_devkit/architect/node/node-modules-architect-host.ts

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export class WorkspaceNodeModulesArchitectHost implements ArchitectHost<NodeModu
124124
}
125125

126126
private findProjectTarget(target: Target) {
127+
// NOTE: Remove conditional when deprecated support for experimental workspace API is removed.
127128
if ('getProjectTargets' in this._workspace) {
128129
return this._workspace.getProjectTargets(target.project)[target.target];
129130
} else {

0 commit comments

Comments
 (0)