Skip to content

Commit

Permalink
chore: reformat code as per spec
Browse files Browse the repository at this point in the history
  • Loading branch information
berenddeboer committed May 28, 2024
1 parent a8bdb8a commit c5bfbec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/role.custom-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ export interface RoleProps {

export class Role extends CustomResource {
constructor(scope: Construct, id: string, props: RoleProps) {
if (
(props.database && props.databaseName)
)
if (props.database && props.databaseName)
throw "Specify either database or databaseName"
super(scope, id, {
serviceToken: props.provider.serviceToken,
Expand Down

0 comments on commit c5bfbec

Please sign in to comment.