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