types: yarn.lock is not YAML

Fixes #747
This commit is contained in:
dana 2018-01-12 18:35:46 -06:00 committed by Andrew Gallant
parent f00625c3f4
commit a6d3a959eb

View File

@ -274,7 +274,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("wiki", &["*.mediawiki", "*.wiki"]), ("wiki", &["*.mediawiki", "*.wiki"]),
("xml", &["*.xml", "*.xml.dist"]), ("xml", &["*.xml", "*.xml.dist"]),
("yacc", &["*.y"]), ("yacc", &["*.y"]),
("yaml", &["*.yaml", "*.yml", "yarn.lock"]), ("yaml", &["*.yaml", "*.yml"]),
("zsh", &[ ("zsh", &[
".zshenv", "zshenv", ".zshenv", "zshenv",
".zlogin", "zlogin", ".zlogin", "zlogin",