From 372a4a3d82464306e3ac11ff9caae8a2103f6d89 Mon Sep 17 00:00:00 2001 From: Jack T Date: Wed, 1 Jan 2025 01:31:43 -0800 Subject: [PATCH] Ignore .git --- build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.rs b/build.rs index e423b61be..64b5bd94d 100644 --- a/build.rs +++ b/build.rs @@ -20,6 +20,10 @@ fn snapshot_from_fs_path(path: &Path) -> io::Result { let file_name = entry.file_name().to_str().unwrap().to_owned(); + if file_name.starts_with(".git") { + continue; + } + // We can skip any TestEZ test files since they aren't necessary for // the plugin to run. if file_name.ends_with(".spec.lua") || file_name.ends_with(".spec.luau") {