projects/ngx-face-api-js/schematics/ng-add/addCdkOverlayPrebuiltCssToAppStyles.ts
Function addCdkOverlayPrebuiltCssToAppStyles
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function addCdkOverlayPrebuiltCssToAppStyles(options: Schema): Rule {
return (host: Tree, _: SchematicContext) => {
const workspace = getWorkspace(host);
const project = getProjectFromWorkspace(workspace, options.project);
const styleFilePath = getProjectStyleFile(project);