Skip to content

Commit

Permalink
chore(lambda): remove spurious console.log (aws#18136)
Browse files Browse the repository at this point in the history
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
rix0rrr authored and TikiTDO committed Feb 21, 2022
1 parent aab7c27 commit 36e70c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/@aws-cdk/aws-lambda/lib/function-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ export abstract class FunctionBase extends Resource implements IFunction, ec2.IC
return;
}

// eslint-disable-next-line no-console
console.log(permission);
const principal = this.parsePermissionPrincipal(permission.principal);
const { sourceAccount, sourceArn } = this.parseConditions(permission.principal) ?? {};
const action = permission.action ?? 'lambda:InvokeFunction';
Expand Down

0 comments on commit 36e70c9

Please sign in to comment.