We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98d4d30 commit b6e638cCopy full SHA for b6e638c
packages/angular/pwa/pwa/index.ts
@@ -137,7 +137,7 @@ function addManifestToAssetsConfig(options: PwaOptions) {
137
}
138
139
export default function (options: PwaOptions): Rule {
140
- return (host: Tree) => {
+ return (host: Tree, context: SchematicContext) => {
141
const workspace = getWorkspace(host);
142
if (!options.project) {
143
throw new SchematicsException('Option "project" is required.');
@@ -167,6 +167,6 @@ export default function (options: PwaOptions): Rule {
167
mergeWith(assetsTemplateSource),
168
updateIndexFile(options),
169
addManifestToAssetsConfig(options),
170
- ]);
+ ])(host, context);
171
};
172
0 commit comments