fix(nx): review correction #1530
This commit is contained in:
parent
d80c3810cf
commit
df77d6c5e8
@ -33,7 +33,10 @@ function addDependencies() {
|
|||||||
const builders = new Set<string>();
|
const builders = new Set<string>();
|
||||||
const projects = readJsonInTree(host, 'angular.json').projects;
|
const projects = readJsonInTree(host, 'angular.json').projects;
|
||||||
Object.values<any>(projects)
|
Object.values<any>(projects)
|
||||||
.filter(project => typeof project === 'object')
|
.filter(
|
||||||
|
project =>
|
||||||
|
typeof project === 'object' && project.hasOwnProperty('architect')
|
||||||
|
)
|
||||||
.forEach(project => {
|
.forEach(project => {
|
||||||
Object.values<any>(project.architect).forEach(target => {
|
Object.values<any>(project.architect).forEach(target => {
|
||||||
const [builderDependency] = target.builder.split(':');
|
const [builderDependency] = target.builder.split(':');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user