Skip to content

Commit

Permalink
fix(@angular-devkit/schematics): Fix issues for file-syetem-engine ru…
Browse files Browse the repository at this point in the history
…nning in google3

Pass 'name' as part of FileSystemCollectionDesc when creating
collection description.
  • Loading branch information
qiyigg authored and hansl committed Aug 2, 2018
1 parent afb25c3 commit 02de5cd
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -57,7 +57,10 @@ export class FileSystemEngineHost extends FileSystemEngineHostBase {
throw new CollectionMissingSchematicsMapException(name);
}

return desc as FileSystemCollectionDesc;
return {
...desc,
name,
} as FileSystemCollectionDesc;
}

protected _transformSchematicDescription(
Expand Down

0 comments on commit 02de5cd

Please sign in to comment.