Skip to content

Commit

Permalink
docs(@angular-devkit/architect): add comment about deprecated workspa…
Browse files Browse the repository at this point in the history
…ce usage
  • Loading branch information
clydin authored and Keen Yee Liau committed May 9, 2019
1 parent 8214be4 commit 548fefd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export class WorkspaceNodeModulesArchitectHost implements ArchitectHost<NodeModu
}

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

0 comments on commit 548fefd

Please sign in to comment.