Showing 1 of 2 total issues
Function calculate
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async calculate (projectName, period, leadtimeType) { const project = await this.projectService.getProject(projectName) if (project === undefined) { throw new Error(`Project ${projectName} not found`) }