summaryrefslogtreecommitdiff
path: root/source/features/comment-on-draft-pr-indicator.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/comment-on-draft-pr-indicator.tsx')
-rw-r--r--source/features/comment-on-draft-pr-indicator.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/features/comment-on-draft-pr-indicator.tsx b/source/features/comment-on-draft-pr-indicator.tsx
index 34cc9f86..50436a63 100644
--- a/source/features/comment-on-draft-pr-indicator.tsx
+++ b/source/features/comment-on-draft-pr-indicator.tsx
@@ -26,12 +26,12 @@ function init(): void {
}
void features.add(__filebasename, {
+ asLongAs: [
+ pageDetect.isDraftPR,
+ ],
include: [
pageDetect.isPRConversation,
pageDetect.isPRFiles,
],
- exclude: [
- () => !pageDetect.isDraftPR(),
- ],
init,
});