Skip to content

Commit dae5f9d

Browse files
qiyiggalexeagle
authored andcommitted
fix(@angular-devkit/schematics): Fix issues for file-syetem-engine running in google3
Pass 'name' as part of FileSystemCollectionDesc when creating collection description.
1 parent e4fbe7f commit dae5f9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/angular_devkit/schematics/tools/file-system-engine-host.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ export class FileSystemEngineHost extends FileSystemEngineHostBase {
5757
throw new CollectionMissingSchematicsMapException(name);
5858
}
5959

60-
return desc as FileSystemCollectionDesc;
60+
return {
61+
...desc,
62+
name,
63+
} as FileSystemCollectionDesc;
6164
}
6265

6366
protected _transformSchematicDescription(

0 commit comments

Comments
 (0)