From e375fde56a3387d17af3c27144dfa15b1239e1fa Mon Sep 17 00:00:00 2001
From: Florent <cheap.glitch@gmail.com>
Date: Tue, 9 Nov 2021 12:36:57 +0100
Subject: Meta: Replace `__filebasename` with `import.meta.url` (#5058)

Co-authored-by: Federico Brigante <me@fregante.com>
---
 source/features/enable-file-links-in-compare-view.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'source/features/enable-file-links-in-compare-view.tsx')

diff --git a/source/features/enable-file-links-in-compare-view.tsx b/source/features/enable-file-links-in-compare-view.tsx
index 74f251ac..fade2194 100644
--- a/source/features/enable-file-links-in-compare-view.tsx
+++ b/source/features/enable-file-links-in-compare-view.tsx
@@ -54,7 +54,7 @@ function init(): void {
 	delegate(document, '.file-header:not([data-file-deleted="true"]) .js-file-header-dropdown:not(.rgh-actionable-link)', 'toggle', handleMenuOpening, true);
 }
 
-void features.add(__filebasename, {
+void features.add(import.meta.url, {
 	include: [
 		pageDetect.isPRFiles,
 		pageDetect.isPRCommit,
-- 
cgit v1.2.3

