Merge pull request #1159 from epage/go

fix: Re-add go.sum, requirements.txt to 'lock' file type
This commit is contained in:
Ed Page 2024-11-26 11:14:44 -06:00 committed by GitHub
commit 8a0dae6793
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"]),