From 672b920f31d366cb93232c6348f7f83d8b9fd30e Mon Sep 17 00:00:00 2001
From: bytedream <bytedream@protonmail.com>
Date: Tue, 12 Jul 2022 22:51:37 +0200
Subject: [PATCH] Rename match.ts to matches.ts

---
 src/match/{match.ts => matches.ts} | 0
 tasks/build.ts                     | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename src/match/{match.ts => matches.ts} (100%)

diff --git a/src/match/match.ts b/src/match/matches.ts
similarity index 100%
rename from src/match/match.ts
rename to src/match/matches.ts
diff --git a/tasks/build.ts b/tasks/build.ts
index ae9be56..69e085b 100644
--- a/tasks/build.ts
+++ b/tasks/build.ts
@@ -25,7 +25,7 @@ function getDomains() {
     const matchesRegex = new RegExp(/export\s+const\s+matches\s+=\s+(?<matches>\[.*?])/gms)
     const matchesClassesRegex = new RegExp(/(?<!\/\/\s*)new\s+(?<class>\w+)\(\)/gms)
 
-    const matchTs = fs.readFileSync('src/match/match.ts')
+    const matchTs = fs.readFileSync('src/match/matches.ts')
     const jsMatches = matchesRegex.exec(matchTs).groups.matches
     let m
     while ((m = matchesClassesRegex.exec(jsMatches))) {