Skip to content

Commit

Permalink
Remove notifyOnCommitComment()
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 authored Aug 25, 2021
1 parent 939ecb0 commit e0a4028
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions packages/@aws-cdk/aws-codecommit/lib/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,6 @@ export interface IRepository extends IResource, notifications.INotificationRuleS
options: RepositoryNotifyOnOptions,
): notifications.INotificationRule;

/**
* Defines a CodeStar Notification rule which triggers when a comment is made on a commit.
*/
notifyOnCommitComment(
id: string,
target: notifications.INotificationRuleTarget,
options?: notifications.NotificationRuleOptions,
): notifications.INotificationRule;

/**
* Defines a CodeStar Notification rule which triggers when a comment is made on a pull request.
*/
Expand Down Expand Up @@ -380,17 +371,6 @@ abstract class RepositoryBase extends Resource implements IRepository {
});
}

public notifyOnCommitComment(
id: string,
target: notifications.INotificationRuleTarget,
options?: notifications.NotificationRuleOptions,
): notifications.INotificationRule {
return this.notifyOn(id, target, {
...options,
events: [RepositoryNotificationEvents.COMMIT_COMMENT],
});
}

public notifyOnPullRequestComment(
id: string,
target: notifications.INotificationRuleTarget,
Expand Down

0 comments on commit e0a4028

Please sign in to comment.