From 752e3e22ed0df8ed86709ec3780cfc8a52f02180 Mon Sep 17 00:00:00 2001
From: Timothy Carambat <rambat1010@gmail.com>
Date: Tue, 2 Apr 2024 14:13:11 -0700
Subject: [PATCH] Add more text file forced extensions (#1016)

---
 collector/utils/files/mime.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/collector/utils/files/mime.js b/collector/utils/files/mime.js
index feabd6209..fa0a59e94 100644
--- a/collector/utils/files/mime.js
+++ b/collector/utils/files/mime.js
@@ -21,7 +21,7 @@ class MimeDetector {
     // which has had this extension far before TS was invented. So need to force re-map this MIME map.
     this.lib.define(
       {
-        "text/plain": ["ts", "py", "opts", "lock", "jsonl"],
+        "text/plain": ["ts", "py", "opts", "lock", "jsonl", "qml", "sh"],
       },
       true
     );
-- 
GitLab