diff --git a/collector/utils/files/mime.js b/collector/utils/files/mime.js index ad3ff57829bdd20f7604adea862e0ab8767fb03c..b3f03b13120a99322ddd41629ce47611723df525 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.