EndemolShineGroup/generator-codebuild

View on GitHub
src/lib/createCloudFormationTemplate.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function generateIamPolicy has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const generateIamPolicy = (projectName: string) => {
  // tslint:disable:object-literal-sort-keys
  return new IAM.Policy({
    PolicyName: 'CodeBuildServicePolicy',
    PolicyDocument: {
Severity: Minor
Found in src/lib/createCloudFormationTemplate.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status