diff options
Diffstat (limited to 'source/features/link-to-github-io.tsx')
-rw-r--r-- | source/features/link-to-github-io.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/link-to-github-io.tsx b/source/features/link-to-github-io.tsx index d3eac55d..2da0559b 100644 --- a/source/features/link-to-github-io.tsx +++ b/source/features/link-to-github-io.tsx @@ -42,8 +42,8 @@ async function initRepo(): Promise<void> { } void features.add(__filebasename, { - exclude: [ - () => !getRepo()?.name.endsWith('.github.io'), + asLongAs: [ + () => Boolean(getRepo()?.name.endsWith('.github.io')), ], init: initRepo, }, { |