Skip to content

Commit

Permalink
Exclude 1-commit PRs from clear-pr-merge-commit-message (#3141)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed May 27, 2020
1 parent d45d63b commit f55f37d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/features/clear-pr-merge-commit-message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ features.add({
include: [
pageDetect.isPRConversation
],
exclude: [
// Don't clear 1-commit PRs #3140
() => select.all('.TimelineItem.js-commit').length === 1
],
additionalListeners: [
onPrMergePanelOpen
],
Expand Down

0 comments on commit f55f37d

Please sign in to comment.