Filter out RLS output directories on tidy runs

This commit is contained in:
Santiago Pastorino 2019-10-02 11:02:14 -03:00
parent bf8491e72e
commit 03455e47d8
No known key found for this signature in database
GPG key ID: 88C941CDA1D46432

View file

@ -53,6 +53,9 @@ fn filter_dirs(path: &Path) -> bool {
"src/tools/rls",
"src/tools/rust-installer",
"src/tools/rustfmt",
// Filter RLS output directories
"target/rls",
];
skip.iter().any(|p| path.ends_with(p))
}