From 03455e47d818a1f8f65efb7c5af38276dc78a2a0 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Wed, 2 Oct 2019 11:02:14 -0300 Subject: [PATCH] Filter out RLS output directories on tidy runs --- src/tools/tidy/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/tidy/src/lib.rs b/src/tools/tidy/src/lib.rs index e01184e3658b5..337f9c4d6dbed 100644 --- a/src/tools/tidy/src/lib.rs +++ b/src/tools/tidy/src/lib.rs @@ -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)) }