From c870e31aaad99e9f4e17b94203b0a0d286145dbe Mon Sep 17 00:00:00 2001 From: timothycarambat <rambat1010@gmail.com> Date: Mon, 28 Oct 2024 11:44:15 -0700 Subject: [PATCH] add `ino` filetype to text/plain support --- collector/utils/files/mime.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collector/utils/files/mime.js b/collector/utils/files/mime.js index ad3ff5782..b3f03b131 100644 --- a/collector/utils/files/mime.js +++ b/collector/utils/files/mime.js @@ -38,6 +38,7 @@ class MimeDetector { "pas", "r", "go", + "ino", ], }, true @@ -47,7 +48,7 @@ class MimeDetector { // These are file types that are not detected by the mime library and need to be processed as text files. // You should only add file types that are not detected by the mime library, are parsable as text, and are files // with no extension. Otherwise, their extension should be added to the overrides array. - #specialTextFileTypes = ["dockerfile", "jenkinsfile"]; + #specialTextFileTypes = ["dockerfile", "jenkinsfile", "dockerignore"]; /** * Returns the MIME type of the file. If the file has no extension found, it will be processed as a text file. -- GitLab