From 09d882c2f93e1730cb2b5d149f9d8cdd14425986 Mon Sep 17 00:00:00 2001 From: Kaizen Conroy <36202692+kaizencc@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:30:03 -0500 Subject: [PATCH] chore(codebuild): fix formatting errors (#28226) pet peeves ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-codebuild/lib/project.ts | 6 +++--- packages/aws-cdk-lib/aws-codebuild/lib/report-group.ts | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/aws-cdk-lib/aws-codebuild/lib/project.ts b/packages/aws-cdk-lib/aws-codebuild/lib/project.ts index fbf0d060d3f23..8237a811bc83e 100644 --- a/packages/aws-cdk-lib/aws-codebuild/lib/project.ts +++ b/packages/aws-cdk-lib/aws-codebuild/lib/project.ts @@ -43,6 +43,7 @@ export interface BuildEnvironmentCertificate { * The bucket where the certificate is */ readonly bucket: s3.IBucket; + /** * The full path and name of the key file */ @@ -774,7 +775,6 @@ export interface BindToCodePipelineOptions { * A representation of a CodeBuild Project. */ export class Project extends ProjectBase { - public static fromProjectArn(scope: Construct, id: string, projectArn: string): IProject { const parsedArn = Stack.of(scope).splitArn(projectArn, ArnFormat.SLASH_RESOURCE_NAME); @@ -1923,7 +1923,7 @@ export enum WindowsImageType { /** * The WINDOWS_SERVER_2019_CONTAINER environment type */ - SERVER_2019 = 'WINDOWS_SERVER_2019_CONTAINER' + SERVER_2019 = 'WINDOWS_SERVER_2019_CONTAINER', } /** @@ -2133,7 +2133,7 @@ export enum BuildEnvironmentVariableType { /** * An environment variable stored in AWS Secrets Manager. */ - SECRETS_MANAGER = 'SECRETS_MANAGER' + SECRETS_MANAGER = 'SECRETS_MANAGER', } /** diff --git a/packages/aws-cdk-lib/aws-codebuild/lib/report-group.ts b/packages/aws-cdk-lib/aws-codebuild/lib/report-group.ts index f3f0082b8afcd..aa577cd79952d 100644 --- a/packages/aws-cdk-lib/aws-codebuild/lib/report-group.ts +++ b/packages/aws-cdk-lib/aws-codebuild/lib/report-group.ts @@ -71,7 +71,7 @@ export enum ReportGroupType { /** * The report group contains code coverage reports. */ - CODE_COVERAGE = 'CODE_COVERAGE' + CODE_COVERAGE = 'CODE_COVERAGE', } /** @@ -118,14 +118,13 @@ export interface ReportGroupProps { * * @default TEST */ - readonly type?: ReportGroupType + readonly type?: ReportGroupType; } /** * The ReportGroup resource class. */ export class ReportGroup extends ReportGroupBase { - /** * Reference an existing ReportGroup, * defined outside of the CDK code,