summaryrefslogtreecommitdiff
path: root/source/features/quick-repo-deletion.tsx
diff options
context:
space:
mode:
authorGravatar Florent <cheap.glitch@gmail.com> 2021-11-09 12:36:57 +0100
committerGravatar GitHub <noreply@github.com> 2021-11-09 12:36:57 +0100
commite375fde56a3387d17af3c27144dfa15b1239e1fa (patch)
treee8311b233321ef007d5b436a90698850eefd7e49 /source/features/quick-repo-deletion.tsx
parent1d47afba1f4a0e3f853cb61d424694c83daa7865 (diff)
downloadrefined-github-e375fde56a3387d17af3c27144dfa15b1239e1fa.tar.gz
refined-github-e375fde56a3387d17af3c27144dfa15b1239e1fa.tar.zst
refined-github-e375fde56a3387d17af3c27144dfa15b1239e1fa.zip
Meta: Replace `__filebasename` with `import.meta.url` (#5058)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/features/quick-repo-deletion.tsx')
-rw-r--r--source/features/quick-repo-deletion.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/quick-repo-deletion.tsx b/source/features/quick-repo-deletion.tsx
index 23100c7a..6f037e4e 100644
--- a/source/features/quick-repo-deletion.tsx
+++ b/source/features/quick-repo-deletion.tsx
@@ -148,7 +148,7 @@ async function init(): Promise<void | false> {
delegate(document, '.rgh-quick-repo-deletion[open]', 'toggle', handleToggle, true);
}
-void features.add(__filebasename, {
+void features.add(import.meta.url, {
include: [
pageDetect.isForkedRepo,
],