Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
? noop()
: filter(path => !path.endsWith('.spec.ts.template')),
applyTemplates(templateOptions),
move(parsedPath.path),
]);
const templateSource = apply(
url(options.creators ? './creator-files' : './files'),
[applyTemplates(templateOptions), move(parsedPath.path)]
);
return chain([
branchAndMerge(chain([addReducerToState(options)])),
branchAndMerge(
chain([
addReducerImportToNgModule(options),
mergeWith(commonTemplate),
mergeWith(templateSource),
])
),
])(host, context);
};
}