fix: Re-add go.sum, requirements.txt to 'lock' file type

Fixes #1158
This commit is contained in:
Ed Page 2024-11-26 11:04:26 -06:00
parent 78d6d22744
commit 70f236086f

View file

@ -160,7 +160,13 @@ pub(crate) const DEFAULT_TYPES: &[(&str, &[&str])] = &[
]),
("lilypond", &["*.ly", "*.ily"]),
("lisp", &["*.el", "*.lisp", "*.lsp", "*.sc", "*.scm"]),
("lock", &["*.lock", "package-lock.json", "composer.lock", "*.terraform.lock.hcl"]),
("lock", &[
"*.lock",
"package-lock.json", "pnpm-lock.yaml",
"composer.lock", "*.terraform.lock.hcl",
"requirements.txt",
"go.sum",
]),
("log", &["*.log"]),
("lua", &["*.lua"]),
("lz4", &["*.lz4"]),