ignore/types: replace duplicate glob with *.aspx.vb

*.aspx.cs was listed twice and the VB variant is missing.

Closes #1683
This commit is contained in:
Simon Morgan 2020-09-19 22:24:18 +01:00 committed by Andrew Gallant
parent c53c4c0ade
commit 121e0135c1
2 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,8 @@ Security fixes:
Feature enhancements: Feature enhancements:
* Added or improved file type filtering for Bazel, dvc, FlatBuffers, Futhark, * Added or improved file type filtering for ASP, Bazel, dvc, FlatBuffers,
minified files, Mint, pofiles (from GNU gettext) Racket, VCL, Yang Futhark, minified files, Mint, pofiles (from GNU gettext) Racket, VCL, Yang.
* [FEATURE #1404](https://github.com/BurntSushi/ripgrep/pull/1404): * [FEATURE #1404](https://github.com/BurntSushi/ripgrep/pull/1404):
ripgrep now prints a warning if nothing is searched. ripgrep now prints a warning if nothing is searched.
* [FEATURE #1680](https://github.com/BurntSushi/ripgrep/pull/1680): * [FEATURE #1680](https://github.com/BurntSushi/ripgrep/pull/1680):

View File

@ -16,7 +16,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("asciidoc", &["*.adoc", "*.asc", "*.asciidoc"]), ("asciidoc", &["*.adoc", "*.asc", "*.asciidoc"]),
("asm", &["*.asm", "*.s", "*.S"]), ("asm", &["*.asm", "*.s", "*.S"]),
("asp", &[ ("asp", &[
"*.aspx", "*.aspx.cs", "*.aspx.cs", "*.ascx", "*.ascx.cs", "*.ascx.vb", "*.aspx", "*.aspx.cs", "*.aspx.vb", "*.ascx", "*.ascx.cs", "*.ascx.vb",
]), ]),
("ats", &["*.ats", "*.dats", "*.sats", "*.hats"]), ("ats", &["*.ats", "*.dats", "*.sats", "*.hats"]),
("avro", &["*.avdl", "*.avpr", "*.avsc"]), ("avro", &["*.avdl", "*.avpr", "*.avsc"]),